diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-07-15 15:16:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2011-07-15 15:16:29 +0000 |
commit | ed70def05a21edbcc887acf75ae9a8e2d9e896bd (patch) | |
tree | ff435b46dde11dfeb4ad1521717e45c86b0096e6 | |
parent | c22c918c73b313022c059d3530eaba1cd35db789 (diff) |
set CC=gcc on MinGW since MinGW often doesn't have cc
svn path=/trunk/externals/template/; revision=15153
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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)" |