aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-15 15:16:29 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-07-15 15:16:29 +0000
commited70def05a21edbcc887acf75ae9a8e2d9e896bd (patch)
treeff435b46dde11dfeb4ad1521717e45c86b0096e6
parentc22c918c73b313022c059d3530eaba1cd35db789 (diff)
set CC=gcc on MinGW since MinGW often doesn't have cc
svn path=/trunk/externals/template/; revision=15153
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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)"