Makefile

changeset 25
9d41e3611050
parent 23
5f8005150227
child 27
228f64ffb422
equal deleted inserted replaced
24:c3fa6c2785dd 25:9d41e3611050
9 9
10 INCLUDES += -I./include 10 INCLUDES += -I./include
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
15 ifndef HAS_SYSTEM_ASPRINTF
16 OBJS += ../snprintf_2.2/snprintf.o
17 else
18 CFLAGS += -DHAS_SYSTEM_ASPRINTF
19 endif
14 20
15 LIBDIR=$(PREFIX)/lib 21 LIBDIR=$(PREFIX)/lib
16 INCDIR=$(PREFIX)/include/libtu 22 INCDIR=$(PREFIX)/include/libtu
17 23
18 TARGETS=libtu.a 24 TARGETS=libtu.a

mercurial