Mercurial > hg > nnchat
diff Makefile.gen @ 213:78f47ae47c2a
Fix Windows build.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 21 Nov 2010 00:18:59 +0200 |
parents | 5ef630818bef |
children | 477449911cb1 |
line wrap: on
line diff
--- a/Makefile.gen Sat Nov 20 23:13:41 2010 +0200 +++ b/Makefile.gen Sun Nov 21 00:18:59 2010 +0200 @@ -1,10 +1,16 @@ -NN_VERSION := `cat VERSION` CFLAGS+=-g -W -Wall -O2 -DTH_NO_DEFAULTS #CFLAGS+=-g -W -Wall -DTH_NO_DEFAULTS COMP=$(CC) $(CFLAGS) # +# Version strings +# +NN_VERSION := $(shell cat VERSION) +comma:= , +NN_VERSION_COM := $(subst .,$(comma),$(NN_VERSION)) + +# # Objects # NNCHAT_BIN=$(BINPATH)nnchat$(EXEEXT)