From 680d4af79c2bee738c2052887e7473a957cfd38f Mon Sep 17 00:00:00 2001 From: meep-eep Date: Sat, 14 May 2005 21:11:51 +0000 Subject: [PATCH] Accept external CFLAGS and LDFLAGS git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1755 8092fc87-c524-0410-9efc-e669fe64eaf9 --- tools/synch/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/synch/Makefile b/tools/synch/Makefile index e1b1b5fc7..98c3cb4b2 100644 --- a/tools/synch/Makefile +++ b/tools/synch/Makefile @@ -6,12 +6,12 @@ TARGET = synch # For MacOS X: SDL, Ogg and Vorbis are provided as frameworks, # which require different flags than unix-style shared libs ifeq ($(shell uname), Darwin) - CFLAGS = -D__MACOSX__ - LDFLAGS = -framework Ogg -framework Vorbis -framework SDL \ + CFLAGS += -D__MACOSX__ + LDFLAGS += -framework Ogg -framework Vorbis -framework SDL \ -framework Cocoa else - CFLAGS = $(shell sdl-config --cflags) - LDFLAGS = -lvorbisfile -lvorbis $(shell sdl-config --libs) + CFLAGS += $(shell sdl-config --cflags) + LDFLAGS += -lvorbisfile -lvorbis $(shell sdl-config --libs) endif CFLAGS += -DUSE_SDLAUDIO=1 $(shell fltk-config --cxxflags)