refine redirected i/o timeout mechanism, remove obsoleted flags
[ust.git] / config.mk
index 5a4c80eaaaa1363bde45e69cd73cb62ebd08b2d2..31f86192e3fe7e4689fe074f3da5c1d3667aa6d5 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,15 +1,21 @@
-VERSION = 0.2.1
+VERSION = 0.2.3
 
-PREFIX = /usl/local
+TARGET = ust
 
-# need -D_GNU_SOURCE wehn compiling on Linux
+PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/share/man
+
+# need -D_GNU_SOURCE when compiling on Linux
 OS != uname -s
 
 GNUSRC != if [ "${OS}" = "Linux" ]; then \
        printf "%s" "-D_GNU_SOURCE"; \
 fi
+# some implementations of make do not accept `!=`,
+# so if it triggers any errors just remove this block
+# and add the flag manually
 
-CFLAGS = -std=c99 -Wall -pthread -O2 ${GNUSRC}
+CFLAGS = -std=c99 -Wall -lpthread -O2 ${GNUSRC}
 LDFLAGS = 
 
 CC = cc