Handle new ppc emulator

This commit is contained in:
gbeauche 2003-09-07 14:26:15 +00:00
parent 6ff594e32d
commit 15a1208483

View File

@ -76,7 +76,7 @@ uninstall:
rm -f $(man1dir)/$(APP).1
clean:
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp
distclean: clean
rm -rf $(OBJ_DIR)
@ -95,5 +95,12 @@ $(OBJ_DIR)/%.o : %.S
$(AS) $(ASFLAGS) -o $@ $*.s
rm $*.s
# Kheperix CPU emulator
GENEXEC = ../kpx_cpu/src/cpu/ppc/genexec.pl
../kpx_cpu/src/cpu/ppc/ppc-execute.cpp: ppc-execute-impl.cpp
ppc-execute-impl.cpp: ../kpx_cpu/src/cpu/ppc/ppc-decode.cpp $(GENEXEC)
$(CPP) $(CPPFLAGS) $< | $(GENEXEC) > $@
#-------------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.