mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-23 23:23:54 +00:00
21 lines
381 B
Makefile
21 lines
381 B
Makefile
CFLAGS += -Wall -Werror -I../../include
|
|
LDLIBS += -L../../ -lpthread -lm -lunicorn
|
|
|
|
UNAME_S := $(shell uname -s)
|
|
ifeq ($(UNAME_S), Linux)
|
|
LDLIBS += -lrt
|
|
endif
|
|
|
|
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
|
|
|
TESTS_SOURCE = $(wildcard *.c)
|
|
TESTS = $(TESTS_SOURCE:%.c=%)
|
|
|
|
.PHONY: all clean test
|
|
|
|
test: $(TESTS)
|
|
|
|
all: $(TESTS)
|
|
|
|
clean:
|
|
rm -f $(TESTS)
|