7d566158c6
ysyx_22040000 李心杨 Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux 12:25:16 up 1 day 15:53, 2 users, load average: 0.54, 0.67, 0.67
10 lines
220 B
Makefile
10 lines
220 B
Makefile
TEST_SRCS += tests/expr_test.c
|
|
YACC = bison
|
|
|
|
$(OBJ_DIR)/%: %.c $(TEST_OBJS) app
|
|
@mkdir -p $(dir $@)
|
|
@echo + CC $<
|
|
@$(CC) $(CFLAGS) -o $@.o -c $<
|
|
@echo + LD $@
|
|
@$(LD) $(LIBS) $(LDFLAGS) -o $@ $(TEST_OBJS) $@.o
|
|
@$@
|