You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516
  1. BLIB = ../bin/blib.a
  2. CFLAGS = -Os
  3. all : hijack mucurses_test
  4. hijack : hijack.c
  5. $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
  6. mucurses_test.o : mucurses_test.c
  7. $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
  8. mucurses_test : mucurses_test.o $(BLIB)
  9. $(CC) -o $@ $< -lc $(BLIB)
  10. clean :
  11. rm -f hijack mucurses_test *.o