diff options
| author | Mike Wey | 2011-05-07 16:32:37 +0200 |
|---|---|---|
| committer | Mike Wey | 2011-05-07 16:32:37 +0200 |
| commit | 60f11f1fdd1e428f3e2203c2723cf7c7a282e561 (patch) | |
| tree | ed8fed4c44941ef2d77c10500358530eb2488c77 /GNUmakefile | |
| parent | 4c6d40489dc87932350b856891d0aa92e2ac18ad (diff) | |
Use a struct/struct destructors to wrap ImageMagick Exception handling.
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 10 |
1 files changed, 9 insertions, 1 deletions
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 |
