summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index df0f11d..367e4a8 100644
--- a/Makefile
+++ b/Makefile
@@ -175,10 +175,10 @@ install_allbutmausezahn: $(foreach tool,$(filter-out mausezahn,$(TOOLS)),$(tool)
uninstall: $(foreach tool,$(TOOLS),$(tool)_uninstall)
%.yy.o: %.l
- $(LEXQ) -P $(shell perl -wlne 'print $$1 if /lex-func-prefix:\s([a-z]+)/' $<) \
+ $(LEXQ) -P $(shell sed -rn 's/.*lex-func-prefix:\s([a-z]+).*/\1/gp' $<) \
-o $(BUILD_DIR)/$(shell basename $< .l).yy.c $(LEX_FLAGS) $<
%.tab.o: %.y
- $(YACCQ) -p $(shell perl -wlne 'print $$1 if /yacc-func-prefix:\s([a-z]+)/' $<) \
+ $(YACCQ) -p $(shell sed -rn 's/.*yacc-func-prefix:\s([a-z]+).*/\1/gp' $<) \
-o $(BUILD_DIR)/$(shell basename $< .y).tab.c $(YAAC_FLAGS) -d $<
$(foreach tool,$(TOOLS),$(eval $(call TOOL_templ,$(tool))))
kaël Salaün4-89/+97 2017-02-10bpf: Use bpf_load_program() from the libraryMickaël Salaün4-27/+12 2017-02-10bpf: Always test unprivileged programsMickaël Salaün2-6/+64 2017-02-10bpf: Change the include directory for selftestMickaël Salaün1-1/+1 2017-02-06bpf: enable verifier to add 0 to packet ptrWilliam Tu1-0/+23 2017-02-06bpf: test for AND edge casesJosef Bacik1-0/+55