summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-01-31 20:57:14 -0500
committerJakob Kaivo <jkk@ung.org>2019-01-31 20:58:13 -0500
commitc95ef15aa4300fd321f29b0db5f92526e3682064 (patch)
tree03881f972ada73bbaf6864eadf02a98306c2697c /Makefile
parent366af4076ff2f22250d0b5b8aa6cd9f5a057784a (diff)
don't rebuild deps every time
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e7302519..2241f807 100644
--- a/Makefile
+++ b/Makefile
@@ -5,14 +5,16 @@ default: all
include config.mk
INCLUDES=-I$(INCDIR) -I. -Inonstd/stubs
-CFLAGS=$(INCLUDES) -g -fno-builtin -nostdinc -nostdlib -nodefaultlibs -Werror -Wall -Wextra -fPIC
+CFLAGS=$(INCLUDES) -g -fno-builtin -nostdinc -nostdlib -nodefaultlibs -Werror -Wall -Wextra -fPIC -D_POSIX_SOURCE
all: .deps.mk headers
@$(MAKE) -f .deps.mk $@
-.deps.mk: deps
+.deps.mk:
+ $(MAKE) deps
-.headers.mk: deps
+.headers.mk:
+ $(MAKE) deps
deps:
sh mkmf.sh $(STANDARD)