summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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}) > $@