chore: add test folder
parent
71cf5a5981
commit
0e1d5d3f23
2
Makefile
2
Makefile
|
@ -73,7 +73,7 @@ $(BINS_TEST): %: %.c.o $(LIB)
|
|||
$(BUILD_DIR)/$(TEST_DIR)/%.c.o: $(TEST_DIR)/%.c
|
||||
mkdir -p $(dir $@)
|
||||
$(CC) $(_CFLAGS) -I$(TEST_DIR) \
|
||||
-I$(dir $(@:$(BUILD_DIR)/$(TEST_DIR)/%=$(SRC_DIR)/%)) \
|
||||
-I$(SRC_DIR)/_include \
|
||||
-c $< -o $@
|
||||
|
||||
# =====EXAMPLES=====
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#include "test.h"
|
||||
|
||||
TEST_LIST = {
|
||||
{ NULL, NULL }
|
||||
};
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue