IKALOGIC ScanaQuad SQ50 reversing stuff (mostly dynamic analysis stuff)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
455 B

all: libftfake.so dumpee libsqfake.so ftdidrv
libsqfake.so: libsqfake.c
$(CC) -shared -fPIC -Wall -Wextra -Wno-unused-parameter -std=gnu11 -pipe -o $@ $<
libftfake.so: libftfake.c libftfake_hl.h
$(CC) -shared -fPIC -o "$@" "$<" -I. -ldl -Wall -Wextra -lm
dumpee: dumpee.c
$(CC) -o "$@" "$<" -L../build/ -I. -lftd2xx -Wl,-rpath=../build -Wall -Wextra
ftdidrv: ftdidrv.c
$(CC) -o "$@" "$<" $(shell pkg-config --cflags --libs libftdi1) -Wall -Wextra