21 lines
275 B
Makefile
21 lines
275 B
Makefile
|
|
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)
|