mirror of
https://github.com/capstone-engine/capstone.git
synced 2024-11-28 07:50:39 +00:00
14 lines
245 B
Makefile
14 lines
245 B
Makefile
SOURCE = src
|
|
INCLUDE = include
|
|
BUILD = build
|
|
LIBRARY = -lcmocka -lcapstone -L../..
|
|
|
|
all:
|
|
rm -rf $(BUILD)
|
|
mkdir $(BUILD)
|
|
$(CC) $(SOURCE)/*.c -I$(INCLUDE) -o $(BUILD)/cstest $(LIBRARY)
|
|
cstest:
|
|
$(BUILD)/cstest -d ../MC
|
|
clean:
|
|
rm -rf $(BUILD)
|