| 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 |