Extracted test_fs_* from tests.c.
[agg.git] / src / Makefile
blob738c5b30075e82867a376a979a3a872094f6b23e
1 -include ../Make.config
3 LDFLAGS=-lexpat
4 LIBS=expat.o fail.o rss.o stack.o text.o layer.o fs.o
5 POBJ=agg.o
6 POUT=agg
7 NOMT=nomtime
9 all: $(POUT)
10 tests: $(LIBS)
12 $(POUT): $(LIBS) $(POBJ)
13 $(CC) $(LDFLAGS) $(LIBS) $(POBJ) -o $(POUT)
15 install: all
16 $(INST) -m 555 -s $(POUT) $(PREFIX)/bin
17 $(INST) -m 555 -s $(NOMT) $(PREFIX)/bin
19 clean:
20 $(RM) -f $(LIBS) $(POBJ) $(POUT)
22 %.o: %.c
23 $(CC) $(CFLAGS) -c $<