aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-07 16:55:10 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-07 16:55:10 +0000
commit0c7a029ed490e46ef192284d77eabbe22f5dfdf9 (patch)
tree8acecb710eaf12d44b9f8a9b7aca7a91ca465283 /src/Makefile
parente4982423e8f19640229df3009faea04a64ed676e (diff)
added checks for fat-binaries; LATER check whether this actually works
svn path=/trunk/externals/zexy/; revision=10970
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
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)