aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk2
-rw-r--r--sh/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.mk b/common.mk
index e5a0592..ca4f661 100644
--- a/common.mk
+++ b/common.mk
@@ -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