summaryrefslogtreecommitdiff
blob: b29e2a74c9819df1430af452711af94902be8706 (plain)
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
diff -ur pcmcia-cs-3.2.8/cardmgr/Makefile pcmcia-cs-3.2.8-ldflags/cardmgr/Makefile
--- pcmcia-cs-3.2.8/cardmgr/Makefile	2003-11-22 09:54:13.000000000 +0100
+++ pcmcia-cs-3.2.8-ldflags/cardmgr/Makefile	2005-04-13 01:36:37.000000000 +0200
@@ -73,21 +73,21 @@
 	@mkdir -p .depfiles ; mv $*.d .depfiles
 
 cardinfo: cardinfo.o
-	$(CC) $< -o $@ $(FLIBS)
+	$(CC) $< -o $@ $(LDFLAGS) $(FLIBS)
 
 xcardinfo.o: xcardinfo.c
 	$(CC) $(CFLAGS) -MD $(CPPFLAGS) $(XCPPFLAGS) -c $<
 	@mkdir -p .depfiles ; mv $*.d .depfiles
 
 xcardinfo: xcardinfo.o
-	$(CC) $< -o $@ -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXaw
+	$(CC) $< -o $@ $(LDFLAGS) -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lXaw
 
 gpccard.o: gpccard.c
 	$(CC) -O -Wall -MD $(CPPFLAGS) $(GTK_CFLAGS) -c $<
 	@mkdir -p .depfiles ; mv $*.d .depfiles
 
 gpccard: gpccard.o
-	$(CC) $< -o $@ $(GTK_LIBS)
+	$(CC) $< -o $@ $(LDFLAGS) $(GTK_LIBS)
 
 install-cardinfo: cardinfo
 	@mkdir -p $(PREFIX)/usr/X11R6/bin