Files
test/shared_object_obfuscation/Makefile
2015-03-03 12:09:18 +04:00

16 lines
299 B
Makefile

all: libshared_object.so executable.exe
libshared_object.so : shared_object.cpp interface.h
g++ -fPIC --shared -O2 $< -o $@
strip $@
executable.exe : executable.cpp interface.h libshared_object.so
g++ -O2 -lshared_object -L. $< -o $@
strip $@
run: all
LD_LIBRARY_PATH=. ./executable.exe