summaryrefslogtreecommitdiff
blob: 535331754a483e7afbfc0d8293074639e733c71b (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
Index: Plugin/Makefile
===================================================================
RCS file: /cvsroot/freewrl/freewrl/freewrl/Plugin/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Plugin/Makefile	21 Mar 2005 13:39:14 -0000	1.4
+++ Plugin/Makefile	11 Dec 2005 08:30:37 -0000
@@ -38,12 +38,13 @@
 
 SHAREDTARGET=npfreewrl.so
 
-install: npfreewrl
-	cp npfreewrl.so $(PLUGDIR)
+all: $(SHAREDTARGET)
 
-all:	npfreewrl
 
-npfreewrl: $(OBJ)
+install: $(SHAREDTARGET)
+	cp $(SHAREDTARGET) $(PLUGDIR)
+
+$(SHAREDTARGET): $(OBJ)
 	$(CC) -shared -o $(SHAREDTARGET) $(OBJ) $(LDFLAGS)
 
 npfreewrl.o: netscape/source/npfreewrl.c