From 60f11f1fdd1e428f3e2203c2723cf7c7a282e561 Mon Sep 17 00:00:00 2001 From: Mike Wey Date: Sat, 7 May 2011 16:32:37 +0200 Subject: Use a struct/struct destructors to wrap ImageMagick Exception handling. --- GNUmakefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index b48f5f4..6f6101c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -19,21 +19,29 @@ endif ifeq ("$(DC)","dmd") DCFLAGS=-O + LINKERFLAG=-L output=-of$@ else ifeq ("$(DC)","ldc") DCFLAGS=-O + LINKERFLAG=-L output=-of$@ else DCFLAGS=-O2 + LINKERFLAG=-Xlinker output=-o $@ endif ifeq ("$(OS)","Darwin") LDFLAGS+=-Wl,-undefined,dynamic_lookup else ifeq ("$(OS)","Linux") - LDFLAGS+=-L-ldl + LDFLAGS+=$(LINKERFLAG)-ldl endif +ifeq ("$(ARCH)", "x86_64") + DCFLAGS+=-m64 + LDFLAGS+=-m64 +endif + AR=ar RANLIB=ranlib -- cgit v1.2.3