diff options
author | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-08 15:40:14 +0000 |
---|---|---|
committer | N.N. <krzyszcz@users.sourceforge.net> | 2004-12-08 15:40:14 +0000 |
commit | d5a39ff6469f8762218c00a34f4b0a120a56332b (patch) | |
tree | 8b5d6f1008f1ce09daf3e2a63b71f9c142911e80 /Makefile.common | |
parent | b88a64023a08ed9a0e520058ef8be200515d9639 (diff) |
various bug-fixes, maxmode, toxy .#args
svn path=/trunk/externals/miXed/; revision=2360
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common index fd57c44..2184624 100644 --- a/Makefile.common +++ b/Makefile.common @@ -23,12 +23,16 @@ include Makefile.objects default: define_build all ifeq ($(OS_NAME),Linux) -# FIXME -CC = gcc-2.95 X_SUFFIX = pd_linux -DEFINES = -DUNIX -OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer +CC = gcc LFLAGS = -export_dynamic -shared +# FIXME strict-aliasing +OPT_CFLAGS = -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing +ifeq ($(shell whoami),krzYszcz) +DEFINES = -DUNIX -DKRZYSZCZ +else +DEFINES = -DUNIX +endif endif ifeq ($(OS_NAME),MinGW) @@ -40,7 +44,7 @@ LFLAGS = -shared $(PD_DIR)/../bin/pd.dll endif ifeq ($(OS_NAME),Darwin) -CC = gcc2 +CC = gcc X_SUFFIX = pd_darwin DEFINES = -DUNIX -DMACOSX OPT_CFLAGS = -O2 -funroll-loops -fomit-frame-pointer @@ -87,6 +91,7 @@ INCLUDES = -I. -I$(PD_DIR) -I$(SHARED_DIR) WARN_CFLAGS = -Wall -W -Wstrict-prototypes -Werror \ -Wno-unused -Wno-parentheses -Wno-switch + DBG_CFLAGS = CFLAGS = $(WARN_CFLAGS) $(OPT_CFLAGS) $(DEFINES) $(INCLUDES) |