File: examples.Makefile.patch

package info (click to toggle)
dsdp 5.8-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,196 kB
  • sloc: ansic: 27,119; makefile: 308; sh: 30
file content (45 lines) | stat: -rw-r--r-- 1,173 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Description: Drop dependencies on clean target
Author: Santiago Vila <sanvila@debian.org>
Bug-Debian: https://bugs.debian.org/1105341
Last-Update: 2025-12-28

--- dsdp-5.8.orig/examples/Makefile
+++ dsdp-5.8/examples/Makefile
@@ -6,31 +6,31 @@ include ../make.include
 
 EXAMPLE_LIBS = ${DSDPLIB} ${LAPACKBLAS}
 
-dsdp: exinfo clean
+dsdp: exinfo
 	${MEX} -I${DSDPROOT}/include dsdp.c ${DSDPLIB}; 
 	${MV} dsdp.mex* ${DSDPMATLABDIR}
 
-dsdpsdpa: exinfo clean readsdpa.o 
+dsdpsdpa: exinfo readsdpa.o
 	${CLINKER} readsdpa.o ${EXAMPLE_LIBS} -o dsdp5
 	${MV} dsdp5 ${EXECDIR}
 	${RM} readsdpa.o
 
-maxcut: exinfo clean maxcut.o
+maxcut: exinfo maxcut.o
 	${CLINKER} -o maxcut maxcut.o ${EXAMPLE_LIBS}
 	${MV} maxcut ${EXECDIR}
 	${RM} maxcut.o
 
-stable: exinfo clean stable.o
+stable: exinfo stable.o
 	${CLINKER} -o stable stable.o ${EXAMPLE_LIBS}
 	${MV} stable ${EXECDIR}
 	${RM} stable.o
 
-color: exinfo clean color.o
+color: exinfo color.o
 	${CLINKER} -o color color.o ${EXAMPLE_LIBS}
 	${MV} color ${EXECDIR}
 	${RM} color.o
 
-theta:	exinfo clean theta.o
+theta:	exinfo theta.o
 	${CLINKER} -o theta theta.o ${EXAMPLE_LIBS}
 	${MV} theta ${EXECDIR}
 	${RM} theta.o