little fixes

This commit is contained in:
eddyem
2017-02-02 18:25:59 +03:00
parent 06d0ad7082
commit 13d623fc8a
8 changed files with 119 additions and 37 deletions

View File

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