File: makefile

package info (click to toggle)
goattracker 2.76%2Bds-2
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 3,156 kB
  • sloc: ansic: 28,700; cpp: 7,826; asm: 3,691; makefile: 136
file content (80 lines) | stat: -rw-r--r-- 2,608 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 goattracker (2.74-1) unstable; urgency=medium
 .
   * New upstream version.
   * Bump debhelper version to 11.
   * Bump standards version to 4.2.1.
Author: Gürkan Myczko <gurkan@phys.ethz.ch>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-10-12

--- goattracker-2.74.orig/src/makefile
+++ goattracker-2.74/src/makefile
@@ -2,7 +2,7 @@
 # Linux makefile
 #
 
-CFLAGS=`sdl-config --cflags`
+CFLAGS+=`sdl-config --cflags`
 PREFIX=../linux/
 SUFFIX=
 LIBS=`sdl-config --libs`
--- goattracker-2.74.orig/src/makefile.common
+++ goattracker-2.74/src/makefile.common
@@ -25,7 +25,6 @@ asm/asmtab.o asm/chnkpool.o asm/expr.o a
 asm/pc.o asm/vec.o \
 bme/bme_gfx.o bme/bme_snd.o bme/bme_win.o bme/bme_mou.o bme/bme_kbd.o bme/bme_io.o bme/bme_end.o bme/bme.o
 	$(CXX) -o $@ $^ $(LIBS)
-	strip $@
 
 # it would be nice not having to link things like resid, however the source is
 # not ready for that
@@ -40,29 +39,24 @@ asm/asmtab.o asm/chnkpool.o asm/expr.o a
 asm/pc.o asm/vec.o \
 bme/bme_gfx.o bme/bme_snd.o bme/bme_win.o bme/bme_mou.o bme/bme_kbd.o bme/bme_io.o bme/bme_end.o bme/bme.o
 	$(CXX) -DGT2RELOC -o $@ $^ $(LIBS)
-	strip $@
 	
 $(PREFIX)mod2sng$(SUFFIX): mod2sng.o bme/bme_end.o
 	gcc -o $@ $^
-	strip $@
 
 $(PREFIX)ins2snd2$(SUFFIX): ins2snd2.o bme/bme_end.o
 	gcc -o $@ $^
-	strip $@
 
 $(PREFIX)sngspli2$(SUFFIX): sngspli2.o bme/bme_end.o
 	gcc -o $@ $^
-	strip $@
 
 $(PREFIX)betaconv$(SUFFIX): betaconv.o bme/bme_end.o
 	gcc -o $@ $^
-	strip $@
 
 goattrk2.dat: player.s altplayer.s chargen.bin palette.bin cursor.bin goattrk2.bmp goattrk2.seq
-	datafile $@ goattrk2.seq
+	bme/datafile $@ goattrk2.seq
 
 goatdata.c: goattrk2.dat
-	dat2inc $< $@
+	bme/dat2inc $< $@
 
 clean:
 	$(RM) *.o *~