Annotation of ports/games/ufoai/base/patches/patch-build_client_mk, Revision 1.1
1.1 ! yason 1: $OpenBSD$
! 2: --- build/client.mk.orig Fri May 14 21:16:55 2010
! 3: +++ build/client.mk Thu Sep 2 23:49:11 2010
! 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 \
! 13: @@ -350,12 +350,12 @@ $(CLIENT_TARGET): $(CLIENT_OBJS)
! 14: # Say how to build .o files from .c files for this module
! 15: $(BUILDDIR)/client/%.o: $(SRCDIR)/%.c
! 16: @echo " * [UFO] $<"; \
! 17: - $(CC) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 18: + $(CC) $(CPPFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 19:
! 20: # Say how to build .o files from .m files for this module
! 21: $(BUILDDIR)/client/%.o: $(SRCDIR)/%.m
! 22: @echo " * [UFO] $<"; \
! 23: - $(CC) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 24: + $(CC) $(CPPFLAGS) $(CFLAGS) $(CLIENT_CFLAGS) $(SDL_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
! 25:
! 26: ifeq ($(TARGET_OS),mingw32)
! 27: # Say how to build .o files from .rc files for this module
CVSweb