sq50-re/Makefile

11 lines
281 B
Makefile

all: libftfake.so dumpee libsqfake.so
libsqfake.so: libsqfake.c
$(CC) -shared -fPIC -Wall -Wextra -std=gnu11 -pipe -o $@ $<
libftfake.so: libftfake.c
gcc -shared -fPIC -o "$@" "$<" -I. -ldl -Wall
dumpee: dumpee.c
gcc -o "$@" "$<" -L../build/ -I. -lftd2xx -Wl,-rpath=../build