summaryrefslogtreecommitdiff
path: root/package/pipacs/src/Makefile
blob: 3a48e88f728419fd0ae28c995c2a3fe2f06b6e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

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