2024-01-13 02:38:20 +00:00
|
|
|
TEST_SRCS += tests/expr_test.c
|
2024-01-13 03:42:35 +00:00
|
|
|
YACC = bison
|
2024-01-13 02:38:20 +00:00
|
|
|
|
|
|
|
$(OBJ_DIR)/%: %.c $(TEST_OBJS) app
|
|
|
|
@mkdir -p $(dir $@)
|
|
|
|
@echo + CC $<
|
2024-07-22 09:45:49 +00:00
|
|
|
@$(CC) $(CFLAGS) -o $@.o -c $<
|
2024-01-13 02:38:20 +00:00
|
|
|
@echo + LD $@
|
|
|
|
@$(LD) $(LIBS) $(LDFLAGS) -o $@ $(TEST_OBJS) $@.o
|
2024-03-06 04:50:56 +00:00
|
|
|
@$@
|