diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | debug/Makefile | 7 |
2 files changed, 4 insertions, 6 deletions
@@ -29,12 +29,15 @@ cooker: eater: $(MAKE) -C eater +.PHONY: seitan seitan: $(SRCS) $(HEADERS) $(CC) $(CFLAGS) -o $(BIN) $(SRCS) +.PHONY: debug debug: $(MAKE) -C debug +.PHONY: clean clean: rm -f $(BIN) $(MAKE) -C cooker clean diff --git a/debug/Makefile b/debug/Makefile index b05fa92..340da62 100644 --- a/debug/Makefile +++ b/debug/Makefile @@ -9,7 +9,7 @@ SRCS := bpf_dbg.c disasm.c HEADERS := disasm.h -BIN := $(OUTDIR)bpf_dbg +BIN := $(OUTDIR)/bpf_dbg CFLAGS += -Wall -Wextra -pedantic # TODO: remove this part together with the build binary @@ -26,11 +26,6 @@ AUDIT_ARCH := $(shell echo $(AUDIT_ARCH) | sed 's/PPCLE/PPC64LE/') bpf_dbg: $(SRCS) $(HEADERS) $(CC) $(CFLAGS) -o $(BIN) $(SRCS) -# TODO: remove when cooker is ready -build: build.c ../cooker/filter.c ../cooker/filter.h ../common/numbers.h - $(CC) $(CFLAGS) -I../common -I../cooker -DSEITAN_AUDIT_ARCH=AUDIT_ARCH_$(AUDIT_ARCH)\ - -o $(OUTDIR)build ../cooker/filter.c build.c - all: $(BIN) clean: |