Makefile

changeset 27
228f64ffb422
parent 25
9d41e3611050
child 28
01745c3150ad
--- a/Makefile	Fri Oct 27 15:41:36 2000 +0200
+++ b/Makefile	Sat Nov 04 21:14:52 2000 +0100
@@ -12,11 +12,15 @@
 
 OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o
 
+ifdef LIBTU_NO_ERRMSG
+CFLAGS += -DLIBTU_NO_ERRMSG
+else
 ifndef HAS_SYSTEM_ASPRINTF
 OBJS += ../snprintf_2.2/snprintf.o
 else
 CFLAGS += -DHAS_SYSTEM_ASPRINTF
 endif
+endif
 
 LIBDIR=$(PREFIX)/lib
 INCDIR=$(PREFIX)/include/libtu

mercurial