diff options
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 82ac0b1..05f2a22 100644 --- a/src/Makefile +++ b/src/Makefile @@ -14,7 +14,7 @@ bosix: $(OBJS) deps: printf '.POSIX:\n\n' > .deps.mk - for i in *.c; do printf '%s.o: %s ' "$$(basename $$i .c)" "$$i"; grep include "$$i" | sed -e 's/^.*"\(.*\)".*/\1/g' | paste -d' ' -s -; printf '\t$$(CC) -c $$(CFLAGS) %s\n\n' "$$i"; done >> .deps.mk + grep include *.c | sed -e 's/#include//g;s/"//g;s/\.c:/.o:/g' >> .deps.mk printf '.POSIX:\n\nOBJS=' > .objs.mk for i in *.c; do printf '\\\n\t%s.o' $$(basename $$i .c); done >> .objs.mk printf '\n' >> .objs.mk |