summaryrefslogtreecommitdiff
path: root/openwrt/package/pipacs/src/Makefile
blob: a9a88059de8f133504c5c2e42e19101842426e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $Id$

EXTRA_CFLAGS := -c -I.
PIPACS_OBJS := pipacs.o parser.o

all: pipacs

%.o: %.c
	$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^

pipacs: $(PIPACS_OBJS)
	$(CC) -o $@ $^

clean:
	rm -f *.o *.so pipacs