diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,12 +15,12 @@ LDFLAGS += -Wl,-z,now -Wl,-z,relro -pie # this is just a fallback in case you do not use git but downloaded # a release tarball... -VERSION := 0.0.6 +VERSION := 0.0.7 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}) > $@ |