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.

Makefile 525B

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