blob: 7e80c6daf154370bf5cda4a864d06d800c52fcc4 (
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
|
$NetBSD: patch-ae,v 1.4 2004/08/30 06:27:55 recht Exp $
--- utils/Makefile.orig 1999-01-17 17:22:40.000000000 +0100
+++ utils/Makefile
@@ -3,14 +3,14 @@ CSOURCE= $(wildcard *.c)
OBJ=$(CCSOURCE:%.cc=%.o) $(CSOURCE:%.c=%.o)
-libutils.a : $(OBJ)
- $(AR) $@ $(OBJ)
+libplputils.la : $(OBJ)
+ $(LD) -o $@ $(OBJ:.o=.lo) -rpath $(PREFIX)/lib -version-info 1:7
%.o : %.cc
- $(CC) -c $< -o $@
+ $(CC) -c $<
%.o : %.c
- $(CC) -c $< -o $@
+ $(CC) -c $<
clean :
- rm -f *.a core $(OBJ) *~
\ No newline at end of file
+ rm -f .libs *.la core $(OBJ) *~
|