diff options
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..9a21e69 --- /dev/null +++ b/config.mk @@ -0,0 +1,20 @@ +# spreed version +VERSION = 0.2 + +# paths +BIN = bin +PREFIX = /usr/local +MANPREFIX = $(PREFIX)/share/man + +# includes and libs +INCS = +LIBS = + +# flags +CFLAGS = -std=c99 -pedantic -Wall -O2 $(INCS)\ + -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\"\ + -DLVERSION=L\"$(VERSION)\" +LDFLAGS = -s $(LIBS) + +# compiler and linker +CC ?= /usr/bin/gcc |
