diff options
Diffstat (limited to 'wlp/C/Makefile')
-rw-r--r-- | wlp/C/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wlp/C/Makefile b/wlp/C/Makefile index 6bc8fc3..961690d 100644 --- a/wlp/C/Makefile +++ b/wlp/C/Makefile @@ -9,6 +9,11 @@ AROPTS=-rs FLEXOPTS= YACCOPTS=-d +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + SRCDIR=. BINDIR=. @@ -40,4 +45,4 @@ structs: $(CC) $(CCSHARED) $(CCOPTS) -c structs.c -o structs.o clean: - -rm $(OBJFILE) lex.yy.c commands.tab.h commands.tab.c wlp.a yytest + rm -f $(OBJFILE) lex.yy.c commands.tab.h commands.tab.c wlp.a yytest |