add pipacs package (thanks to Janos)
[openwrt/svn-archive/archive.git] / openwrt / package / pipacs / src / Makefile
1 # $Id$
2
3 EXTRA_CFLAGS := -c -I.
4 PIPACS_OBJS := pipacs.o parser.o
5
6 all: pipacs
7
8 %.o: %.c
9 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^
10
11 pipacs: $(PIPACS_OBJS)
12 $(CC) -o $@ $^
13
14 clean:
15 rm -f *.o *.so pipacs