Package: protracker / 2.3d.r161-1

makefile Patch series | download
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
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.
 .
 protracker (2.3d.r134-1) unstable; urgency=medium
 .
   * New upstream version.
   * debian/control: update description.
   * debian/protracker.desktop, and protracker.fr.1: add french
     translation. Thanks Olivier <trebmuh@tuxfamily.org>
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-08-14

--- protracker-2.3d.r134.orig/GNUmakefile
+++ protracker-2.3d.r134/GNUmakefile
@@ -19,7 +19,7 @@ USER = $(shell whoami)
 
 $(TARGET): $(SOURCE)
 	@echo "Compiling, please wait..."
-	$(CC)  $(SOURCE) -lSDL2 -lm $(WARNINGS) -march=native -mtune=native -O3 -o $(TARGET)
+	$(CC)  $(SOURCE) $(CFLAGS) $(CPPFLAGS) -lSDL2 -lm $(WARNINGS) -o $(TARGET) $(LDFLAGS)
 	@echo "Done! The executable is in the folder named 'release/other'."
 
 run: $(TARGET)
@@ -33,12 +33,6 @@ cleanall: clean
 	@echo "Deleting executable..."
 	rm $(TARGET) 2> /dev/null || true
 
-install: $(TARGET)
-	@if [ "$(USER)" = "root" ]; then \
-		echo "Copying '$(TARGETNAME)' to $(INSTALL)"; \
-		install -m 775 $(TARGET) "$(INSTALL)/$(TARGETNAME)"; \
-	else echo "Please run 'make install' as root"; fi
-
 uninstall:
 	@if [ "$(USER)" = "root" ]; then \
 		echo "Deleting '$(TARGETNAME)' from $(INSTALL)"; \