File: minimalize-example-makefile.patch

package info (click to toggle)
mpfrc%2B%2B 3.6.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 288 kB
  • ctags: 498
  • sloc: cpp: 2,343; makefile: 12; sh: 7
file content (20 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: minimalize makefile for examples
 Wipes out unnecessary material.
Origin: debian
Author: Jerome Benoit <calculs@rezozer.net>
Last-Update: 2016-01-07

--- a/example/makefile
+++ b/example/makefile
@@ -1,9 +1,3 @@
-example: example.o
-	g++ example.o -o example -lmpfr -lgmp
-
-example.o: example.cpp
-	g++ -c example.cpp
-
-clean:
-	rm -f *.o 
+LDLIBS = -lmpfr -lgmp
 
+build: example