aboutsummaryrefslogtreecommitdiff
path: root/Info/9/3/Planet/tests/Makefile
blob: e2838d36c445ec23b8688b7be128405fbc25c3de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TESTS := bergkette-abfahren sammle-steine sammle-gestein-aus-taelern
TESTS += sammle-steine nimm-gestein-neben-zwei-huegeln huegel-umfahren

SCORM_TEMPL := scorm-template/imsmanifest.xml scorm-template/index.html scorm-template/scorm-api.js

SCORM := $(addsuffix .zip,$(TESTS))

.PHONY: all clean
all: $(SCORM)

clean:
	rm -f ${SCORM}

%.zip: %/project.toml %/exercise.java %/test.java context.java generate-scorm.py
	./generate-scorm.py $< scorm-template/oide-embedded --outfile=$@ --template-dir=scorm-template --exercise=${<D}/exercise.java --test=${<D}/test.java --context=context.java