diff --git a/src/util/Makefile b/src/util/Makefile index d72661e2..4a6a7c7c 100644 --- a/src/util/Makefile +++ b/src/util/Makefile @@ -1,17 +1,11 @@ BLIB = ../bin/blib.a CFLAGS = -Os -all : hijack prototester mucurses_test +all : hijack mucurses_test hijack : hijack.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $< -prototester.o : prototester.c - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< -idirafter ../include - -prototester : prototester.o $(BLIB) - $(CC) -o $@ $< -lc $(BLIB) - mucurses_test.o : mucurses_test.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< @@ -19,4 +13,4 @@ mucurses_test : mucurses_test.o $(BLIB) $(CC) -o $@ $< -lc $(BLIB) clean : - rm -f hijack prototester mucurses_test *.o + rm -f hijack mucurses_test *.o