Split tests_dev/tests.c into seperate files for each suite.
[agg.git] / tests_dev / Makefile
blobc81bc51d977cc222bbb89aa3746286745ffd6b0b
1 -include ../Make.config
3 LDFLAGS=-lexpat
4 DEPS=../src/expat.o ../src/fail.o ../src/rss.o ../src/stack.o ../src/text.o ../src/layer.o ../src/fs.o
5 LIBS=fs.o text.o stack.o
6 POBJ=tests.o
7 POUT=tests
9 all: $(POUT)
10 run: $(POUT)
11 ./$(POUT)
13 $(POUT): $(LIBS) $(POBJ)
14 $(CC) -I../src $(LDFLAGS) $(DEPS) $(LIBS) $(POBJ) -o $(POUT)
16 clean:
17 $(RM) -f $(LIBS) $(POBJ) $(POUT)
19 %.o: %.c
20 $(CC) $(CFLAGS) -c $<