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 29 30
|
#
# bibutils unit tests MAKEFILE
#
CFLAGS = -Wall -I ../lib
LIBDIR = -L../lib
LIBS = -static -lbibutils
PROGS = newstr_test entities_test utf8_test
all: $(PROGS)
entities_test : entities_test.o
$(CC) entities_test.o $(LIBDIR) $(LIBS) -o $@
utf8_test : utf8_test.o
$(CC) utf8_test.o $(LIBDIR) $(LIBS) -o $@
newstr_test : newstr_test.o
$(CC) newstr_test.o $(LIBDIR) $(LIBS) -o $@
test: entities_test newstr_test
./newstr_test
./entities_test
./utf8_test
clean:
rm -f *.o core
realclean:
rm -f *.o core $(PROGS)
|