summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:12:47 +0100
committerGravatar Christian Hesse <mail@eworm.de>2020-11-25 12:12:47 +0100
commit3a26a2c59bbcd26bd881ee9889cbc6d61bfe8f11 (patch)
treefa150b9d1e8f3d0460122b6a9e027fb69de1d3ba
parentbdaa6608fa3ed483b7d08212067600263df18062 (diff)
downloadnullshell-3a26a2c59bbcd26bd881ee9889cbc6d61bfe8f11.tar.gz
nullshell-3a26a2c59bbcd26bd881ee9889cbc6d61bfe8f11.tar.zst
Makefile: change order of compiler parameters
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index edf3a15..a2a35d6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ VERSION := 0.0.6
all: nullshell README.html
nullshell: nullshell.c config.h version.h
- $(CC) $(CFLAGS) $(LDFLAGS) -o nullshell nullshell.c
+ $(CC) nullshell.c $(CFLAGS) $(LDFLAGS) -o nullshell
version.h: $(wildcard .git/HEAD .git/index .git/refs/tags/*) Makefile
printf "#ifndef VERSION\n#define VERSION \"%s\"\n#endif\n" $(shell git describe --long 2>/dev/null || echo ${VERSION}) > $@