IA86/Makefile

22 lines
346 B
Makefile
Raw Normal View History

2021-07-03 15:29:13 +02:00
CC=g++ -O2
LFLAGS=-lfinal -lkeystone -lstdc++ -lm -lcapstone -lunicorn
DOCKER=docker run -it --name maker --rm -v $$(pwd):/data maker
all: dockerfile files run
dockerfile:
docker build . -t maker
files: ./test
test: ./test.cpp
$(DOCKER) $(CC) -o $@ $^ $(LFLAGS)
run:
$(DOCKER) ./test
rerun: delete files run
delete:
rm -rf ./test