Blame view

emulateur/epsilon-nofrendo/quiz/Makefile 505 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  SFLAGS += -Iquiz/include
  
  QUIZ_USE_CONSOLE ?= 0
  quiz/src/runner.o: SFLAGS += -DQUIZ_USE_CONSOLE=$(QUIZ_USE_CONSOLE)
  
  symbols_file = $(addprefix quiz/src/, symbols.c)
  products += $(symbols_file)
  
  $(symbols_file): $(tests)
  	@echo "AWK     $@"
  	$(Q) 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)