diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-01-31 20:57:14 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-01-31 20:58:13 -0500 |
| commit | c95ef15aa4300fd321f29b0db5f92526e3682064 (patch) | |
| tree | 03881f972ada73bbaf6864eadf02a98306c2697c /Makefile | |
| parent | 366af4076ff2f22250d0b5b8aa6cd9f5a057784a (diff) | |
don't rebuild deps every time
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |
