12345678910111213141516171819202122232425 |
- CFLAGS=-g -Wall -std=gnu99
- TARGETS=slitheen-proxy
- all: $(TARGETS)
- slitheen-proxy.o flow.o rserv.o ptwist168.o util.o crypto.o relay.o:: ptwist.h rserv.h flow.h slitheen.h util.h crypto.h relay.h
- rserv: rserv.o ptwist168.o
- gcc -g -o $@ $^ -lssl -lcrypto
- slitheen-proxy: slitheen-proxy.o flow.o rserv.o ptwist168.o crypto.o relay.o relay.h crypto.h ptwist.h rserv.h flow.h slitheen.h
- gcc -g -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 util.h
- #
- #%.o: %.c $(DEPS)
- # gcc -g -Wall -std=c99 -c -o $@ $<
|