Makefile

changeset 5
f878a9ffa3e0
parent 3
b1fbfab67908
child 8
c1994196683f
equal deleted inserted replaced
4:ee28b655297b 5:f878a9ffa3e0
4 4
5 # System-specific configuration is in system.mk 5 # System-specific configuration is in system.mk
6 include system.mk 6 include system.mk
7 7
8 ###################################### 8 ######################################
9
10 INCLUDES += -I./include
9 11
10 OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o 12 OBJS= misc.o output.o util.o optparser.o parser.o tokenizer.o
11 13
12 LIBDIR=$(PREFIX)/lib 14 LIBDIR=$(PREFIX)/lib
13 INCDIR=$(PREFIX)/include/libtu 15 INCDIR=$(PREFIX)/include/libtu
31 33
32 _install: 34 _install:
33 $(INSTALL) -d $(LIBDIR) 35 $(INSTALL) -d $(LIBDIR)
34 $(INSTALL) -d $(INCDIR) 36 $(INSTALL) -d $(INCDIR)
35 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR) 37 $(INSTALL) -m $(DATA_MODE) libtu.a $(LIBDIR)
36 $(INSTALL) -m $(DATA_MODE) include/*.h $(INCDIR) 38 $(INSTALL) -m $(DATA_MODE) include/libtu/*.h $(INCDIR)
37 39

mercurial