Skip to content

Commit

Permalink
Merge pull request #1989 from imbillow/cstest
Browse files Browse the repository at this point in the history
fix cstest `Makefile`
  • Loading branch information
kabeor committed Apr 11, 2023
2 parents 88d7b19 + 280e77d commit 19bd1f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suite/cstest/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
SOURCE = src
INCLUDE = include
INCLUDE = include ../../include
BUILD = build
LIBRARY = -lcmocka -lcapstone -L../..

all:
rm -rf $(BUILD)
mkdir $(BUILD)
$(CC) $(SOURCE)/*.c -I$(INCLUDE) -o $(BUILD)/cstest $(LIBRARY)
$(CC) $(SOURCE)/*.c $(INCLUDE:%=-I %) -o $(BUILD)/cstest $(LIBRARY)
cstest:
$(BUILD)/cstest -d ../MC
clean:
Expand Down

0 comments on commit 19bd1f9

Please sign in to comment.