76 |
|
rm -f $(man1dir)/$(APP).1 |
77 |
|
|
78 |
|
clean: |
79 |
< |
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak |
79 |
> |
rm -f $(APP) $(OBJ_DIR)/* core* *.core *~ *.bak ppc-execute-impl.cpp |
80 |
|
|
81 |
|
distclean: clean |
82 |
|
rm -rf $(OBJ_DIR) |
95 |
|
$(AS) $(ASFLAGS) -o $@ $*.s |
96 |
|
rm $*.s |
97 |
|
|
98 |
+ |
# Kheperix CPU emulator |
99 |
+ |
GENEXEC = ../kpx_cpu/src/cpu/ppc/genexec.pl |
100 |
+ |
|
101 |
+ |
../kpx_cpu/src/cpu/ppc/ppc-execute.cpp: ppc-execute-impl.cpp |
102 |
+ |
ppc-execute-impl.cpp: ../kpx_cpu/src/cpu/ppc/ppc-decode.cpp $(GENEXEC) |
103 |
+ |
$(CPP) $(CPPFLAGS) $< | $(GENEXEC) > $@ |
104 |
+ |
|
105 |
|
#------------------------------------------------------------------------- |
106 |
|
# DO NOT DELETE THIS LINE -- make depend depends on it. |