Source

srw / config.mk

Diff from to

File config.mk

 # srw version
-VERSION = 0.1
+VERSION = 0.2
 
 # Customize below to fit your system
 
 LIBS = -L/usr/lib -lc -lutil
 
 # flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+# use for BSDs
+#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE -DLINUX
 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -s ${LIBS}