CC=g++ -O2 -static LFLAGS=-lfinal -lkeystone -lstdc++ -lm -lcapstone -lunicorn -lz -lncursesw OPTIONS=-std=c++17 DOCKER=docker run --name maker --rm -v $$(pwd):/data maker START=./start.sh all: dockerfile run clean: dockerclean clear: clear dockerclean: (docker rmi $$(docker images | grep "^" | awk '{print $$3}') --force;true) (docker rmi maker;true) docker image ls dockerfile: docker build . -t maker dockerfile_force: dockerclean dockerfile compile: ./ia86 ia86: ./ia86.cpp $(DOCKER) $(CC) $(OPTIONS) -o $@ $^ $(LFLAGS) rerun: $(START) redebug: $(START) debug run: clear delete compile rerun debug: clear delete compile redebug stop: docker stop maker delete: rm -rf ./ia86