icfp12/task/Makefile

21 lines
285 B
Makefile
Raw Normal View History

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