r3942 - packages/trunk/gunroar/debian/patches

Miriam Ruiz baby-guest at alioth.debian.org
Wed Aug 29 15:40:43 UTC 2007


Author: baby-guest
Date: 2007-08-29 15:40:43 +0000 (Wed, 29 Aug 2007)
New Revision: 3942

Added:
   packages/trunk/gunroar/debian/patches/makefile.patch
Log:
Added patch to create Makefile



Added: packages/trunk/gunroar/debian/patches/makefile.patch
===================================================================
--- packages/trunk/gunroar/debian/patches/makefile.patch	                        (rev 0)
+++ packages/trunk/gunroar/debian/patches/makefile.patch	2007-08-29 15:40:43 UTC (rev 3942)
@@ -0,0 +1,30 @@
+Index: gunroar-0.15.dfsg1/Makefile
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ gunroar-0.15.dfsg1/Makefile	2007-08-29 15:38:18.000000000 +0000
+@@ -0,0 +1,25 @@
++DC=gdmd
++#DC=gdc
++ifeq ($(DC), gdmd)
++DFLAGS=-O -d -release -Iimport -Isrc
++#DFLAGS=-g -debug -Iimport -Isrc
++DOUT=-of
++else
++DFLAGS=-O -frelease -Iimport -Isrc
++#DFLAGS=-g -fdebug -Iimport -Isrc
++DOUT=-o
++endif
++
++DSRC=$(shell find src/abagames -name "*.d")
++SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d
++OBJS=$(SOURCES:.d=.o)
++EXE=gunroar
++
++all: $(EXE)
++
++$(EXE): $(OBJS)
++	gcc -o $@ $(OBJS) -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer
++
++$(OBJS): %.o: %.d
++	$(DC) -c $(DOUT)$@ $(DFLAGS) $<
++




More information about the Pkg-games-commits mailing list