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
|