diff options
Diffstat (limited to 'package/pipacs/src/Makefile')
-rw-r--r-- | package/pipacs/src/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/package/pipacs/src/Makefile b/package/pipacs/src/Makefile index 3a48e88f7..c3f830be6 100644 --- a/package/pipacs/src/Makefile +++ b/package/pipacs/src/Makefile @@ -1,14 +1,16 @@ - +CPPFLAGS?= +CFLAGS?= +LDFLAGS?= EXTRA_CFLAGS := -c -I. PIPACS_OBJS := pipacs.o parser.o all: pipacs %.o: %.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ + $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ pipacs: $(PIPACS_OBJS) - $(CC) -o $@ $^ + $(CC) $(LDFLAGS) -o $@ $^ clean: rm -f *.o *.so pipacs |