summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-10-12 08:11:08 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-10-12 08:11:08 +0200
commit0f1157d7e6cabe0394ffc35a0a58a30507af8ebd (patch)
treea0480551d26c42f8f87229c22e0124fa8000d646 /config.mk
parent2fa12210c9b6795f51a3227aaf417afe7f94fbce (diff)
applied BSD support patch
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 48eef1f..0333587 100644
--- a/config.mk
+++ b/config.mk
@@ -15,11 +15,14 @@ INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
+CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
LDFLAGS = ${LIBS}
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = -g ${LIBS}
+# On *BSD remove -DHAVE_SHADOW_H from CFLAGS
+# On OpenBSD remove -lcrypt from LIBS
+
# compiler and linker
CC = cc
LD = ${CC}