unicorn/tests/regress/Makefile

26 lines
486 B
Makefile
Raw Normal View History

CFLAGS += -I../include
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
2015-08-24 11:00:54 +00:00
2015-08-26 22:19:12 +00:00
TESTS = map_crash map_write
TESTS += sigill sigill2
TESTS += block_test
2015-08-28 14:23:26 +00:00
TESTS += ro_mem_test nr_mem_test
TESTS += timeout_segfault
2015-09-01 12:05:33 +00:00
TESTS += rep_movsb
TESTS += mem_unmap
TESTS += mem_double_unmap
TESTS += mem_protect
TESTS += mem_exec
TESTS += mips_kseg0_1
TESTS += eflags_nosync
2015-08-24 11:00:54 +00:00
all: $(TESTS)
clean:
rm -f $(TESTS)
2015-09-04 11:56:35 +00:00
%: %.c
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
2015-08-24 11:00:54 +00:00
.PHONY: all clean