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 342B

12345678910111213141516
  1. BLIB = ../bin/blib.a
  2. CFLAGS = -Os
  3. all : hijack prototester
  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. clean :
  11. rm -f hijack prototester *.o