diff options
author | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-27 08:00:00 +0800 |
commit | 65a96128f7dba2cd65a4e3118f79c3543036111a (patch) | |
tree | 6b8a5ed3610f5ba5713ceea2ff5fa821a0fc8f01 | |
parent | Add codeberg CI (diff) | |
download | fases-master.tar.gz fases-master.zip |
I previously changed this in the main Makefile but forgot to port it
over to the other Makefiles.
-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 |