Package: projectl / 1.001.dfsg1-7

makefile.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright (C) 2007  Marcel Unbehaun <frostworks@gmx.de>
# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+GDC=gdc
+DSRC=$(shell find import src -name "*.d" -not -iname '*mpeg*' | sort)
+EXE=projectl
+
+all: $(EXE)
+
+$(EXE): $(DSRC)
+	$(GDC) -o $@ -Iimport -Isrc -Wno-deprecated $(DFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DSRC) -lSDL -lGL -lSDL_mixer
+
+clean:
+	rm -f $(EXE)