Mercurial > hg > audiodb
diff Makefile @ 246:cbf51690c78c audiodb-debian
Merge trunk changes -r314:325
Plus new debian/changelog, using epoch for smooth upgrading.
author | mas01cr |
---|---|
date | Mon, 17 Dec 2007 16:44:37 +0000 |
parents | 15b8ff55ea5b |
children |
line wrap: on
line diff
--- a/Makefile Fri Dec 14 14:41:37 2007 +0000 +++ b/Makefile Mon Dec 17 16:44:37 2007 +0000 @@ -5,10 +5,17 @@ GSOAP_INCLUDE= override CFLAGS+=-O3 -g + ifeq ($(shell uname),Linux) override CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 endif +ifeq ($(shell uname),Darwin) +ifeq ($(shell sysctl -n hw.optional.x86_64),1) +override CFLAGS+=-arch x86_64 +endif +endif + EXECUTABLE=audioDB .PHONY: all clean test