diff --git a/Makefile b/Makefile index 6d75e26aef..f1f16b08f6 100644 --- a/Makefile +++ b/Makefile @@ -131,10 +131,6 @@ tools/ssnes-joyconfig: $(JOYCONFIG_OBJ) $(Q)$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< @$(if $(Q), $(shell echo echo CC $<),) -%.o: %.m - $(Q)$(CC) -c -o $@ $< - @$(if $(Q), $(shell echo echo CC $<),) - install: $(TARGET) mkdir -p $(DESTDIR)$(PREFIX)/bin mkdir -p $(DESTDIR)/etc diff --git a/ssnes.c b/ssnes.c index 6fd3cec84e..628e2f026f 100644 --- a/ssnes.c +++ b/ssnes.c @@ -36,7 +36,10 @@ #endif #ifdef __APPLE__ -#include "SDL.h" +#include "SDL.h" +// OSX seems to really need -lSDLmain, +// so we include SDL.h here so it can hack our main. +// I had issues including this in Win32 for some reason. :) #endif struct global g_extern = {