From 0c7a029ed490e46ef192284d77eabbe22f5dfdf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 7 Apr 2009 16:55:10 +0000 Subject: added checks for fat-binaries; LATER check whether this actually works svn path=/trunk/externals/zexy/; revision=10970 --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 86a472d..0e03580 100644 --- a/src/Makefile +++ b/src/Makefile @@ -61,7 +61,7 @@ all: $(OBJECTS) endif $(OBJECTS): %.$(EXT) : %.o - $(LD) $(LFLAGS) -o $@ $*.o $(LIBS) + $(LD) $(LFLAGS) $(ARCH_FLAG) -o $@ $*.o $(LIBS) $(STRIP) $(STRIPFLAGS) $@ $(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h @@ -69,7 +69,7 @@ $(LIBNAME): $(TARGETS) z_zexy.c z_zexy.h $(STRIP) $(STRIPFLAGS) $@.$(EXT) $(TARGETS): %.o : %.c - $(CC) $(Z_CFLAGS) -c -o $@ $*.c + $(CC) $(Z_CFLAGS) $(ARCH_FLAG) -c -o $@ $*.c externals: $(OBJECTS) -- cgit v1.2.1