1SOURCE=src 2INCLUDE=include 3BUILD=build 4LIBRARY= -lcmocka -lcapstone 5 6all: 7 rm -rf $(BUILD) 8 mkdir $(BUILD) 9 $(CC) $(SOURCE)/*.c -I$(INCLUDE) -o $(BUILD)/cstest $(LIBRARY) 10cstest: 11 $(BUILD)/cstest -d ../MC 12clean: 13 rm -rf $(BUILD) 14