having both ppc_asm.S and ppc_asm.s in the same dir on MacOS X is a bad idea...

This commit is contained in:
gbeauche 2005-02-21 22:29:49 +00:00
parent 4aa9a22f41
commit 3f1eb78c6e

View File

@ -137,9 +137,9 @@ $(OBJ_DIR)/%.o : %.cpp
$(OBJ_DIR)/%.o : %.mm
$(CXX) $(CPPFLAGS) $(DEFS) $(CXXFLAGS) -c $< -o $@
$(OBJ_DIR)/%.o : %.S
$(CPP) $(CPPFLAGS) -D__ASSEMBLY__ $< -o $*.s
$(AS) $(ASFLAGS) -o $@ $*.s
rm $*.s
$(CPP) $(CPPFLAGS) -D__ASSEMBLY__ $< -o $*.out.s
$(AS) $(ASFLAGS) -o $@ $*.out.s
rm $*.out.s
# Kheperix CPU emulator
kpxsrcdir = ../kpx_cpu/src