mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 00:08:09 +00:00
22 lines
412 B
Makefile
22 lines
412 B
Makefile
CFLAGS += -I../include
|
|
LDFLAGS += ../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
|
|
|
TESTS = map_crash map_write
|
|
TESTS += sigill sigill2
|
|
TESTS += block_test
|
|
TESTS += ro_mem_test nr_mem_test
|
|
TESTS += timeout_segfault
|
|
TESTS += rep_movsb
|
|
TESTS += mem_unmap
|
|
TESTS += mem_protect
|
|
TESTS += mem_exec
|
|
|
|
all: $(TESTS)
|
|
|
|
clean:
|
|
rm -f $(TESTS)
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
.PHONY: all clean
|