diff options
-rw-r--r-- | common.mk | 2 | ||||
-rw-r--r-- | sh/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -17,7 +17,7 @@ config: [ ! -e $< ] || $(CC) $(CFLAGS) $< ../common/common.c -o $@ .c.o: - [ ! -e $< ] || $(CC) $(CFLAGS) $(NOLINKER) $< -o $@ + [ ! -e $< ] || $(CC) $(CFLAGS) -c $< -o $@ # Cleaning clean: diff --git a/sh/Makefile b/sh/Makefile index 6c07f68..b3543a7 100644 --- a/sh/Makefile +++ b/sh/Makefile @@ -27,4 +27,4 @@ sh.o: echo "#define COMPILETIME \"$$(date)\"" >> version.h echo >> version.h echo "#endif" >> version.h - for s in *.c; do $(CC) $(CFLAGS) $(NOLINKER) $$s -o $${s%.c}.o; done + for s in *.c; do $(CC) $(CFLAGS) -c $$s -o $${s%.c}.o; done |