Makefile 505 B

1234567891011121314151617
  1. CFLAGS=-g -ggdb -Wall -std=gnu99
  2. TARGETS=slitheen
  3. all: $(TARGETS)
  4. packet.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o:: ptwist.h flow.h packet.h crypto.h relay.h cryptothread.h util.h
  5. slitheen: slitheen.c packet.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o relay.h crypto.h ptwist.h flow.h packet.h cryptothread.h util.h
  6. gcc -g -ggdb -o $@ $^ -L/usr/local/lib -I/usr/local/include -lssl -lcrypto -lpcap -lpthread -ldl
  7. clean:
  8. -rm *.o
  9. veryclean: clean
  10. -rm $(TARGETS)