summaryrefslogtreecommitdiff
blob: b69c692abb903cd60225500a54b16991334d0936 (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
29
30
31
--- asmon/Makefile.orig	1999-06-26 03:35:13.000000000 +0200
+++ asmon/Makefile	2006-08-24 20:21:52.000000000 +0200
@@ -4,7 +4,7 @@
 #SOLARIS_LIBS = -lsocket -lkstat
 #SOLARIS_OBJS = solaris26.o
 
-LIBDIR = -L/usr/X11R6/lib
+LIBDIR = -L/usr/lib
 LIBS   = -lXpm -lXext -lX11 $(SOLARIS_LIBS)
 OBJS =  asmon.o $(SOLARIS_OBJS) \
 		../wmgeneral/wmgeneral.o \
@@ -12,16 +12,16 @@
 		../wmgeneral/list.o
 
 .c.o:
-	gcc -c -Wall $(SOLARIS) $< -o $*.o
+	gcc -c -Wall $(CFLAGS) $(SOLARIS) $< -o $*.o
 
 asmon: $(OBJS)
 	gcc -o asmon $(OBJS) $(LIBDIR) $(LIBS)
 
 clean::
 	for i in $(OBJS) ; do \
-		rm $$i;\
+		rm -f $$i;\
 	done
-	rm asmon
+	rm -f asmon
 
 install::
 	cp -f asmon /usr/local/bin