aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHumm <hummsmith42@gmail.com>2020-09-18 16:30:40 +0200
committerHumm <hummsmith42@gmail.com>2020-09-18 16:30:40 +0200
commitfa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b (patch)
tree29d8599a5d0b14c49eb5e1110c0db413f0770358
parentmake Makefile compliant (diff)
downloadkirc-fa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b.tar.gz
kirc-fa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b.tar.bz2
kirc-fa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b.tar.xz
kirc-fa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b.tar.zst
kirc-fa16ecb3cd2bebd2f2a0d381a1bd651dcd38318b.zip
remove `-o` from CC command line
With `-o` /and/ `-c`, the result is unspecified.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae0a184..3b0fb68 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ kirc: kirc.o Makefile
$(CC) -o kirc kirc.o $(LDFLAGS)
.c.o:
- $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $<
+ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
install: all
mkdir -p $(DESTDIR)$(BINDIR)