- Fixed: Make clean for snes_spc/Makefile didn't work outside of Windows.

- Fixed: ccdv-posix segfaulted if you tried to run ar through it.



SVN r821 (trunk)
This commit is contained in:
Randy Heit 2008-03-20 00:20:25 +00:00
parent a9ffb9140c
commit 79b848f98c
2 changed files with 2 additions and 5 deletions

View file

@ -304,11 +304,7 @@ int main(int argc, char **argv)
snprintf(gAction, sizeof(gAction), "Running %s", Basename(argv[1]));
memset(gArgsStr, 0, sizeof(gArgsStr));
if(strcmp(gAction+8, "ar") == 0)
{
snprintf(gTarget, sizeof(gTarget), "%s", Basename(argv[i + 1]));
}
else if(strcmp(gAction+8, "cc") == 0 ||
if(strcmp(gAction+8, "cc") == 0 ||
strcmp(gAction+8, "ld") == 0 ||
strcmp(gAction+8, "gcc") == 0 ||
strcmp(gAction+8, "g++") == 0 ||

View file

@ -1,5 +1,6 @@
# Makefile for snes_spc, derived from zlib/Makefile.mgw.
CMD=0
ifeq (Windows_NT,$(OS))
CMD=1
endif