sq50-re/Makefile

8 lines
180 B
Makefile

all: libftfake.so dumpee
libftfake.so: libftfake.c
gcc -shared -fPIC -o "$@" "$<" -I. -ldl -Wall
dumpee: dumpee.c
gcc -o "$@" "$<" -L../build/ -I. -lftd2xx -Wl,-rpath=../build