summaryrefslogtreecommitdiff
path: root/misc/gkrellmbgchg2/files/patch-Makefile
blob: 2144202f290ad976cad2323549e0714bf19078b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- Makefile.orig	Thu Aug  8 01:30:52 2002
+++ Makefile	Thu Aug  8 01:37:36 2002
@@ -19,16 +19,13 @@
 
 OBJS = gkrellmbgchg.o
 
-all: gkrellmbgchg.so
-
 gkrellmbgchg.so: $(OBJS)
 	$(CC) $(CFLAGS) $(OBJS) -o gkrellmbgchg.so $(LFLAGS) $(LIBS)
 
 clean:
 	rm -f *.o core *.so* *.bak *~
-install: gkrellmbgchg.so
-	$(INSTALL) -d $(HOME)/.gkrellm/plugins
-	$(INSTALL) gkrellmbgchg.so $(HOME)/.gkrellm/plugins
-
-gkrellmbgchg.c.o: gkrellmbgchg.c
-
+install:
+	install -c -s gkrellmbgchg.so ${PREFIX}/libexec/gkrellm/plugins
+uninstall:
+	rm -rf $(PLUGIN_DIR)/gkrellmbgchg.so
+all:	gkrellmbgchg.so