File: makefile.patch

package info (click to toggle)
tatan 1.0.dfsg2-0.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,548 kB
  • sloc: xml: 57; makefile: 31
file content (18 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (3)
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*' -not -iname 'sdl_ttf.d' | LC_ALL=C sort)
+EXE=tatan
+
+all: $(EXE)
+
+$(EXE): $(DSRC)
+	$(GDC) -o $@ -Iimport -Isrc -Wdeprecated $(DFLAGS) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DSRC) -lSDL -lGLU -lGL -lSDL_mixer
+
+clean:
+	rm -f $(EXE)