Makefile
410 Bytes
SFLAGS += -Iquiz/include
symbols_file = $(addprefix quiz/src/, symbols.c)
products += $(symbols_file)
$(symbols_file): $(tests)
@echo "AWK $@"
@awk -f quiz/src/symbols.awk $(tests) > $@
runner_objs += $(addprefix quiz/src/, runner.o symbols.o i18n.o)
test_objs += $(subst .c,.o, $(subst .cpp,.o,$(tests)))
test.$(EXE): $(runner_objs) $(test_objs)
products += test.$(EXE) $(runner_objs) $(test_objs)