diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,10 +5,18 @@ BINDIR=/usr/bin INITDIR=/etc/rc.d CONFDIR=/etc/ +VERSION = 1 +PATCHLEVEL = 1 +SUBLEVEL = 0 +EXTRAVERSION = -rc1 + +VERSTR = "$(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL))$(EXTRAVERSION)" + + all: if [ ! -d obj ]; then mkdir obj; fi cc $(CCOPTS) $(DBG) src/config.c -c -o obj/config.o - cc $(CCOPTS) $(DBG) obj/*.o src/main.c -o luminous + cc $(CCOPTS) $(DBG) -DVERSTR=$(VERSTR) obj/*.o src/main.c -o luminous install: install -D luminous ${DESTDIR}/${BINDIR}/luminous |