Makefile

changeset 28
01745c3150ad
parent 27
228f64ffb422
child 29
a2715cff4288
equal deleted inserted replaced
27:228f64ffb422 28:01745c3150ad
11 CFLAGS += $(POSIX_SOURCE) 11 CFLAGS += $(POSIX_SOURCE)
12 12
13 OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o 13 OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o
14 14
15 ifdef LIBTU_NO_ERRMSG 15 ifdef LIBTU_NO_ERRMSG
16 CFLAGS += -DLIBTU_NO_ERRMSG 16 DEFINES += -DLIBTU_NO_ERRMSG
17 else 17 else
18 ifndef HAS_SYSTEM_ASPRINTF 18 ifndef HAS_SYSTEM_ASPRINTF
19 OBJS += ../snprintf_2.2/snprintf.o 19 OBJS += ../snprintf_2.2/snprintf.o
20 else 20 else
21 CFLAGS += -DHAS_SYSTEM_ASPRINTF 21 DEFINES += -DHAS_SYSTEM_ASPRINTF
22 endif 22 endif
23 endif 23 endif
24 24
25 LIBDIR=$(PREFIX)/lib 25 LIBDIR=$(PREFIX)/lib
26 INCDIR=$(PREFIX)/include/libtu 26 INCDIR=$(PREFIX)/include/libtu

mercurial