1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
ROOT=../..
CFLAGS = -Wall -g -I$(ROOT)
LIHATA=$(ROOT)/liblihata/parser.o $(ROOT)/liblihata/liblihata.a
OBJS_LIB = ../lhtpers.o
OBJS_TESTER = perstest.o
OBJS = $(OBJS_LIB) $(OBJS_TESTER) $(LIHATA)
LDLIBS = $(LIBGENHT)
include $(ROOT)/Makefile.conf
all: perstest
# dependencies
include Makefile.dep
perstest: $(OBJS) $(LIBGENHT_DEP)
test:
@cd roundtrip && make test
depend:
@echo "# Generated by \"make depend\"" > Makefile.dep
gcc $(CFLAGS) -MM `echo $(OBJS) | sed "s/\.o/.c/g"` >> Makefile.dep
clean:
-rm $(OBJS) test_simple $(OBJS) 2>/dev/null
include $(ROOT)/Makefile.common
|