From ed70def05a21edbcc887acf75ae9a8e2d9e896bd Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 15 Jul 2011 15:16:29 +0000 Subject: set CC=gcc on MinGW since MinGW often doesn't have cc svn path=/trunk/externals/template/; revision=15153 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 9644499..053fe81 100644 --- a/Makefile +++ b/Makefile @@ -192,6 +192,8 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME))) EXTENSION = dll OS = windows PD_PATH = $(shell cd "$(PROGRAMFILES)"/pd && pwd) + # MinGW doesn't seem to include cc so force gcc + CC=gcc OPT_CFLAGS = -O3 -funroll-loops -fomit-frame-pointer CFLAGS += -mms-bitfields LDFLAGS += -s -shared -Wl,--enable-auto-import @@ -342,6 +344,7 @@ etags: etags *.h $(SOURCES) ../../pd/src/*.[ch] /usr/include/*.h /usr/include/*/*.h showsetup: + @echo "CC: $(CC)" @echo "CFLAGS: $(CFLAGS)" @echo "LDFLAGS: $(LDFLAGS)" @echo "LIBS: $(LIBS)" -- cgit v1.2.1