diff options
| author | Mattias Andrée <maandree@kth.se> | 2017-12-07 17:16:12 +0100 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2017-12-07 17:52:43 +0100 |
| commit | 881f7b4aa699291ae22db304dc9e259cb8331b58 (patch) | |
| tree | c690587b053352b785620e9f761daf170f5c8b47 /config.mk | |
| parent | Fix makefile (diff) | |
| download | blind-881f7b4aa699291ae22db304dc9e259cb8331b58.tar.gz blind-881f7b4aa699291ae22db304dc9e259cb8331b58.tar.bz2 blind-881f7b4aa699291ae22db304dc9e259cb8331b58.tar.xz | |
Improve makefile
Almost fully (to the greatest extent possible) portable.
Do not rebuild everything everytime a .c file is added.
However, there is some minor oddities to allow use of -j.
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ LN = ln -s # You may want to remove -DHAVE_PRCTL, -DHAVE_EPOLL, -DHAVE_TEE, # and -DHAVE_SENDFILE from CPPFLAGS if you are not using Linux. -CFLAGS = -std=c11 -Wall -pedantic -O2 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE \ -D_FILE_OFFSET_BITS=64 -DHAVE_PRCTL -DHAVE_EPOLL -DHAVE_TEE -DHAVE_SENDFILE +CFLAGS = -std=c11 -Wall -pedantic -O2 $(CPPFLAGS) LDFLAGS = -lm -s |
