File: debian-makefile

package info (click to toggle)
mymake 2.2.1-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 612 kB
  • sloc: cpp: 4,951; lisp: 240; ansic: 195; sh: 86; makefile: 33
file content (26 lines) | stat: -rw-r--r-- 795 bytes parent folder | 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
Add Makefile for Debian compilation.
Index: mymake-2.2.0/Makefile
===================================================================
--- /dev/null
+++ mymake-2.2.0/Makefile
@@ -0,0 +1,7 @@
+all:
+	./compile.sh mm
+
+install:
+	mkdir -p $(DESTDIR)/usr/bin
+	cp mm $(DESTDIR)/usr/bin/mymake
+	chmod +x $(DESTDIR)/usr/bin/mymake
Index: mymake-2.2.0/compile.sh
===================================================================
--- mymake-2.2.0.orig/compile.sh
+++ mymake-2.2.0/compile.sh
@@ -7,6 +7,6 @@ then
 fi
 
 mkdir -p bin
-g++ textinc/*.cpp -o bin/textinc
+g++ -g textinc/*.cpp -o bin/textinc
 bin/textinc bin/templates.h templates/*.txt
-g++ -std=c++11 -O3 -iquotesrc/ src/*.cpp src/setup/*.cpp -lpthread -o $1
+g++ -g -std=c++11 -O3 -iquotesrc/ src/*.cpp src/setup/*.cpp -lpthread -o $1