icfp12/task/Makefile
2009-06-28 10:16:44 +02:00

21 lines
285 B
Makefile

OVMJIT=../ovm/kdebuild/ovmjit
.SUFFIXES: .c .obf .o
FILES_OBF=bin1.obf bin2.obf bin3.obf bin4.obf
FILES_C=$(FILES_OBF:.obf=.c)
.PHONY: all sources clean
all: sources
%.c: %.obf $(OVMJIT)
@echo Creating $@ from $<
@$(OVMJIT) $< $@
sources: $(FILES_C)
clean:
rm -f $(FILES_C)