Annotation of ports/games/ufoai/base/patches/patch-build_client_mk, Revision 1.2
1.1 yason 1: $OpenBSD$
1.2 ! yason 2: --- build/client.mk.orig Mon Nov 29 19:46:35 2010
! 3: +++ build/client.mk Mon Apr 18 16:03:49 2011
1.1 yason 4: @@ -301,7 +301,7 @@ ifeq ($(HARD_LINKED_GAME),1)
5: CLIENT_CFLAGS+=$(GAME_CFLAGS)
6: endif
7:
8: -ifneq ($(findstring $(TARGET_OS), netbsd freebsd linux-gnu),)
9: +ifneq ($(findstring $(TARGET_OS), netbsd freebsd openbsd linux-gnu),)
10: CLIENT_SRCS+= \
11: ports/linux/linux_main.c \
12: ports/unix/unix_console.c \
1.2 ! yason 13: @@ -344,18 +344,15 @@ endif
! 14:
! 15: # Say how to link the exe
! 16: $(CLIENT_TARGET): $(CLIENT_OBJS)
! 17: - @echo " * [UFO] ... linking $(LNKFLAGS) ($(CLIENT_LIBS) $(SDL_LIBS))"; \
! 18: - $(CC) $(LDFLAGS) -o $@ $(CLIENT_OBJS) $(LNKFLAGS) $(CLIENT_LIBS) $(SDL_LIBS)
! 19: + $(CC) $(LDFLAGS) -o $@ $(CLIENT_OBJS) $(LNKFLAGS) $(CLIENT_LIBS) $(SDL_LIBS)
! 20:
1.1 yason 21: # Say how to build .o files from .c files for this module
22: $(BUILDDIR)/client/%.o: $(SRCDIR)/%.c
1.2 ! yason 23: - @echo " * [UFO] $<"; \
1.1 yason 24: - $(CC) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
1.2 ! yason 25: + $(CC) $(CPPFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
1.1 yason 26:
27: # Say how to build .o files from .m files for this module
28: $(BUILDDIR)/client/%.o: $(SRCDIR)/%.m
1.2 ! yason 29: - @echo " * [UFO] $<"; \
1.1 yason 30: - $(CC) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
1.2 ! yason 31: + $(CC) $(CPPFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
1.1 yason 32:
33: ifeq ($(TARGET_OS),mingw32)
34: # Say how to build .o files from .rc files for this module
CVSweb