diff --git a/ccdv-posix.c b/ccdv-posix.c index 7e2aa8bfd2..e0842a90ab 100644 --- a/ccdv-posix.c +++ b/ccdv-posix.c @@ -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 || diff --git a/snes_spc/Makefile b/snes_spc/Makefile index c32c06cc71..11c2447591 100644 --- a/snes_spc/Makefile +++ b/snes_spc/Makefile @@ -1,5 +1,6 @@ # Makefile for snes_spc, derived from zlib/Makefile.mgw. +CMD=0 ifeq (Windows_NT,$(OS)) CMD=1 endif