icfp12/task/Makefile

21 lines
275 B
Makefile
Raw Normal View History

2009-06-26 21:13:17 +00:00
OVMJIT=../ovm/kdebuild/ovmjit
.SUFFIXES: .c .obf .o
FILES_OBF=bin1.obf bin2.obf bin3.obf
FILES_C=$(FILES_OBF:.obf=.c)
.PHONY: all sources clean
all: sources
%.c: %.obf $(OVMJIT)
@echo Creatin $@ from $<
@$(OVMJIT) $< $@
sources: $(FILES_C)
clean:
rm -f $(FILES_C)