21 lines
493 B
Makefile
21 lines
493 B
Makefile
.PHONY: all test
|
|
|
|
include make/include/defaults.mk
|
|
|
|
SOURCES_TEST := $(shell find tests/ -name '*.c')
|
|
OBJECTS_TEST = $(SOURCES_TEST:%.c=$(BUILD_DIR)/%.o)
|
|
DEPS_TEST = $(SOURCES_TEST:%.c=$(BUILD_DIR)/%.d)
|
|
|
|
CFLAGS += -Isrc -D__STDC_NO_ATOMICS__ -DMUNIT_TEST_NAME_LEN=45
|
|
LDFLAGS +=
|
|
TARGET = $(BUILD_DIR)/binprobe-tests.exe
|
|
OBJECTS = $(OBJECTS_COMMON) $(OBJECTS_TEST)
|
|
DEPS = $(DEPS_COMMON) $(DEPS_TEST)
|
|
|
|
all: $(TARGET)
|
|
|
|
test: $(TARGET)
|
|
WINEDEBUG=-all wine $(TARGET)
|
|
|
|
include make/include/shared.mk
|