File: 10_makefile.patch

package info (click to toggle)
mssstest 3.0-7
  • links: PTS, VCS
  • area: non-free
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 240 kB
  • sloc: cpp: 1,895; makefile: 31
file content (24 lines) | stat: -rw-r--r-- 575 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
21
22
23
24
Description: Patch makefile to get the name of resulting executable in lower
  cases and without .exe extension
Author: Andreas Tille <tille@debian.org>
Last-Update: Sun, 20 Jul 2008 21:51:26 +0200

--- mssstest-3.0.orig/makefile
+++ mssstest-3.0/makefile
@@ -2,8 +2,8 @@
 mi = neededroutines
 
 
-MSSStest.exe: $(mi).o $(mu).o
-	g++ -g -o MSSStest.exe $(mi).o $(mu).o -lm -lc
+mssstest: $(mi).o $(mu).o
+	g++ -g -o mssstest $(mi).o $(mu).o -lm -lc
 
 
 $(mi).o: $(mi).cpp $(mi).h
@@ -12,3 +12,5 @@
 $(mu).o: $(mu).cpp
 	g++ -c $(mu).cpp  -g -o $(mu).o
 
+clean:
+	rm -f *.o