From 3a26a2c59bbcd26bd881ee9889cbc6d61bfe8f11 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 25 Nov 2020 12:12:47 +0100 Subject: Makefile: change order of compiler parameters --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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}) > $@ -- cgit v1.2.3-70-g09d2