This commit is contained in:
2022-07-31 21:22:11 +03:00
parent 2cfdda730b
commit d3dd334aa7
12 changed files with 946 additions and 92 deletions

View File

@@ -1,7 +1,7 @@
# run `make DEF=...` to add extra defines
PROGRAM := runscope
LDFLAGS := -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,--discard-all
LDFLAGS += -lusefull_macros
LDFLAGS += -lusefull_macros -lm
SRCS := $(wildcard *.c)
DEFINES := $(DEF) -D_GNU_SOURCE -D_XOPEN_SOURCE=1111
OBJDIR := mk