12345678910111213141516171819202122 |
- CFLAGS=-g -ggdb -Wall -std=gnu99
- TARGETS=slitheen-proxy
- all: $(TARGETS)
- slitheen-proxy.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o:: ptwist.h flow.h slitheen.h crypto.h relay.h cryptothread.h util.h
- slitheen-proxy: slitheen-proxy.o flow.o ptwist168.o crypto.o relay.o cryptothread.o util.o relay.h crypto.h ptwist.h flow.h slitheen.h cryptothread.h util.h
- gcc -g -ggdb -o $@ $^ -I/home/slitheen/Documents/include/openssl libssl.a libcrypto.a -lpcap -lpthread -ldl
- clean:
- -rm *.o
- veryclean: clean
- -rm $(TARGETS)
- #DEPS=ptwist.h rserv.h flow.h slitheen.h
- #
- #%.o: %.c $(DEPS)
- # gcc -g -Wall -std=c99 -c -o $@ $<
|