- first check-in for mucurses_test.c

- added mucurses_test.c build targets
This commit is contained in:
Dan Lynch
2006-06-27 17:31:01 +00:00
parent 0bcaa8a21f
commit 2b15084388
2 changed files with 71 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
BLIB = ../bin/blib.a
CFLAGS = -Os
all : hijack prototester
all : hijack prototester mucurses_test
hijack : hijack.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
@@ -12,5 +12,11 @@ prototester.o : prototester.c
prototester : prototester.o $(BLIB)
$(CC) -o $@ $< -lc $(BLIB)
mucurses_test.o : mucurses_test.c
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
mucurses_test : mucurses_test.o $(BLIB)
$(CC) -o $@ $< -lc $(BLIB)
clean :
rm -f hijack prototester *.o
rm -f hijack prototester mucurses_test *.o