summaryrefslogtreecommitdiff
path: root/package/pipacs/src/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:34:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:34:13 +0100
commit902ee7e7b23751ca7a8264d36a837aa4aae12032 (patch)
tree56c6b37cd9afd91d176cd75acb77bf32ccd20378 /package/pipacs/src/Makefile
parent3d45df344602687c8983f5fb609721aa8ca2469f (diff)
parent52dbdcd1045c7a8ad96753593540719cff9f8863 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pipacs/src/Makefile')
-rw-r--r--package/pipacs/src/Makefile8
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