Fix build of regress/

This commit is contained in:
pancake
2015-09-04 07:56:35 -04:00
parent bb27c4c6af
commit e89174c3f1
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
CFLAGS += -I../include
LDFLAGS = -L.. -lunicorn
LDFLAGS += ../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
TESTS = map_crash map_write
TESTS += sigill sigill2
@@ -16,4 +16,7 @@ all: $(TESTS)
clean:
rm -f $(TESTS)
%: %.c
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
.PHONY: all clean