freebsd-ports/sysutils/asmon/files/patch-aa
Maxim Sobolev fb93fc598b - Use MASTER_SITE_AFTERSTEP to MASTER_SITES
PR:		19468
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-06-23 13:14:38 +00:00

26 lines
515 B
Plaintext

*** Makefile.orig Tue Jun 8 15:54:04 1999
--- Makefile Tue Jun 8 15:54:36 1999
***************
*** 0 ****
--- 1,20 ----
+ LIBDIR = -L${X11BASE}/lib
+ LIBS = -lXpm -lXext -lX11 -lkvm
+ OBJS = asmon/asmon.o \
+ wmgeneral/wmgeneral.o \
+ wmgeneral/misc.o \
+ wmgeneral/list.o
+
+ all: asmon
+
+ .c.o:
+ $(CC) $(CFLAGS) -c -Wall -I${X11BASE}/include $< -o $*.o
+
+ asmon: $(OBJS)
+ $(CC) -o asmon/asmon $^ $(LIBDIR) $(LIBS)
+
+ clean::
+ for i in $(OBJS) ; do \
+ rm $$i;\
+ done
+ rm asmon/asmon