unicorn/tests/regress/Makefile

17 lines
305 B
Makefile

CFLAGS += -Wall -Werror -I../../include
LDLIBS += -L../../ -lpthread -lm -lunicorn
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)