View | Details | Raw Unified
Collapse All | Expand All

(-) makefile.ms.orig (-9 / +9 lines)
 Lines 103-111    Link Here 
endif
endif
%.o: %.psr
%.o: %.psr
	./${PSR} @PSRFLAGS@ -cheader psrhead/$(patsubst %.o,%.h,$@) -fname $(patsubst %.o,%,$@) temppsr.c $<
	./${PSR} @PSRFLAGS@ -cheader psrhead/$(patsubst %.o,%.h,$@) -fname $(patsubst %.o,%,$@) temppsr_$(patsubst %.o,%,$@).c $<
	@CC@ @CFLAGS@ -O1 -o $@ -c temppsr.c
	@CC@ @CFLAGS@ -O1 -o $@ -c temppsr_$(patsubst %.o,%,$@).c
	rm -f temppsr.c
	rm -f temppsr_$(patsubst %.o,%,$@).c
ALL: @ZSNESEXE@
ALL: @ZSNESEXE@
 Lines 300-306    Link Here 
	rm -f @prefix@/bin/$(notdir @ZSNESEXE@) @prefix@/man/man5/zsnes.5
	rm -f @prefix@/bin/$(notdir @ZSNESEXE@) @prefix@/man/man5/zsnes.5
clean:
clean:
	rm -f ${ZOBJS} ${PSR} psrhead/*.h temppsr.c @ZSNESEXE@
	rm -f ${ZOBJS} ${PSR} psrhead/*.h temppsr_*.c @ZSNESEXE@
distclean:
distclean:
	rm -f ${ZOBJS} ${PSR} psrhead/*.h temppsr.c @ZSNESEXE@ Makefile aclocal.m4 configure config.cache config.log config.status config.h
	rm -f ${ZOBJS} ${PSR} psrhead/*.h temppsr_*.c @ZSNESEXE@ Makefile aclocal.m4 configure config.cache config.log config.status config.h
 Lines 239-251    Link Here 
endif
endif
%${OE}: %.psr
%${OE}: %.psr
	${PSR} -D${OS} -cheader psrhead/$(patsubst %${OE},%.h,$@) -fname $(patsubst %${OE},%,$@) temppsr.c $<
	${PSR} -D${OS} -cheader psrhead/$(patsubst %${OE},%.h,$@) -fname $(patsubst %${OE},%,$@) temppsr_$(patsubst %${OE},%,$@).c $<
ifneq (${ENV},msvc)
ifneq (${ENV},msvc)
	${CC} -o $@ -c temppsr.c
	${CC} -o $@ -c temppsr_$(patsubst %${OE},%,$@).c
else
else
	cl /nologo /Ox /G6 /c /EHsc /D__WIN32__ /Fo$@ temppsr.c
	cl /nologo /Ox /G6 /c /EHsc /D__WIN32__ /Fo$@ temppsr_$(patsubst %${OE},%,$@).c
endif
endif
	${DELETECOMMAND} temppsr.c
	${DELETECOMMAND} temppsr_$(patsubst %${OE},%,$@).c
ALL: zsnes
ALL: zsnes
	${DELETECOMMAND} version${OE}
	${DELETECOMMAND} version${OE}