[Quiz] Logging on screen

This commit is contained in:
Romain Goyet
2015-09-07 18:18:27 +02:00
parent 107dd016d0
commit 5bd47a7a98
6 changed files with 60 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
SFLAGS += -Iquiz/include
objs += $(addprefix quiz/src/, runner.o symbols.o)
symbols_file = $(addprefix quiz/src/, symbols.c)
products += $(symbols_file)
@@ -8,8 +7,9 @@ $(symbols_file): $(tests)
@echo "AWK $@"
@awk -f quiz/src/symbols.awk $(tests) > $@
runner_objs += $(addprefix quiz/src/, runner.o symbols.o)
test_objs = $(subst .c,.o, $(subst .cpp,.o,$(tests)))
test.elf: $(objs) $(test_objs)
test.elf: $(objs) $(runner_objs) $(test_objs)
@echo "LD $@"
@$(LD) $(LDFLAGS) $(objs) $(test_objs) -o $@