equal
deleted
inserted
replaced
171 ifdef SUPRESS_LANG_ERRORS |
171 ifdef SUPRESS_LANG_ERRORS |
172 LANG_ERRORS = >/dev/null 2>&1 |
172 LANG_ERRORS = >/dev/null 2>&1 |
173 endif |
173 endif |
174 |
174 |
175 ifdef OSX |
175 ifdef OSX |
176 -include os/MacOSX/Makefile.setup |
176 -include os/macosx/Makefile.setup |
177 endif |
177 endif |
178 |
178 |
179 ifdef STATIC |
179 ifdef STATIC |
180 ifndef WIN32 |
180 ifndef WIN32 |
181 ifndef OSX |
181 ifndef OSX |
851 $(ENDIAN_CHECK): endian_check.c |
851 $(ENDIAN_CHECK): endian_check.c |
852 @echo '===> Compiling and Linking $@' |
852 @echo '===> Compiling and Linking $@' |
853 $(Q)$(CC_HOST) $(CFLAGS_HOST) $(CDEFS) $< -o $@ |
853 $(Q)$(CC_HOST) $(CFLAGS_HOST) $(CDEFS) $< -o $@ |
854 |
854 |
855 |
855 |
856 ifndef NATIVE_OSX |
856 ifndef MACOSX_BUILD |
857 # OSX links in os/macosx/Makefile to handle universal binaries better |
857 # OSX links in os/macosx/Makefile to handle universal binaries better |
858 $(TTD): $(OBJS) $(MAKE_CONFIG) |
858 $(TTD): $(OBJS) $(MAKE_CONFIG) |
859 @echo '===> Linking $@' |
859 @echo '===> Linking $@' |
860 $(Q)$(CC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@ |
860 $(Q)$(CC) $(LDFLAGS) $(TTDLDFLAGS) $(OBJS) $(LIBS) -o $@ |
861 endif |
861 endif |
1046 .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h |
1046 .deps/%.d: %.m $(MAKE_CONFIG) table/strings.h endian_target.h |
1047 @echo '===> DEP $<' |
1047 @echo '===> DEP $<' |
1048 $(Q)$(CC) $(OBJCFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ |
1048 $(Q)$(CC) $(OBJCFLAGS) $(CDEFS) -MM $< | sed 's#^$(@F:%.d=%.o):#$@ $(@:.deps/%.d=%.o):#' > $@ |
1049 |
1049 |
1050 |
1050 |
1051 ifndef NATIVE_OSX |
1051 ifndef MACOSX_BUILD |
1052 # OSX uses os/macosx/Makefile to compile files |
1052 # OSX uses os/macosx/Makefile to compile files |
1053 %.o: %.c $(MAKE_CONFIG) |
1053 %.o: %.c $(MAKE_CONFIG) |
1054 @echo '===> Compiling $<' |
1054 @echo '===> Compiling $<' |
1055 $(Q)$(CC) $(CC_CFLAGS) $(CFLAGS) $(CDEFS) -c -o $@ $< |
1055 $(Q)$(CC) $(CC_CFLAGS) $(CFLAGS) $(CDEFS) -c -o $@ $< |
1056 |
1056 |