diff options
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) |