123456789101112131415161718192021222324 |
- CXXFLAGS=-g -Wall -std=c++11
- all: toyserver toyclient ztlsoramserver ztlsoramclient
- toyserver: toyserver.o pirserver.o
- $(CXX) -Wall -o $@ $^
- toyclient: toyclient.o pirclient.o
- $(CXX) -Wall -o $@ $^
- ztlsoramserver: ZT_LSORAMserver.o pirserver.o
- $(MAKE) -C ZeroTrace/
- cp ZeroTrace/Sample_App/ZT.hpp .
- $(CXX) -std=c++11 ZT_LSORAMserver.cc pirserver.cc utils.cc -Wall -L=$(CURDIR) -lZT -lcrypto -Wl,--rpath=$(CURDIR) -o $@
- ztlsoramclient: ZT_LSORAMclient.o pirclient.o utils.o
- $(CXX) -Wall -o $@ $^ -lcrypto
- clean:
- -rm toyserver.o pirserver.o toyclient.o pirclient.o ZT_LSORAMserver.o ZT_LSORAMclient.o
- veryclean: clean
- -rm toyserver toyclient
- -rm ztlsoramserver ztlsoramclient
|