OS = -DFREEBSD LIBDIR != ${GTK_CONFIG} --libs INCDIR != ${GTK_CONFIG} --cflags # Edit OSLIBS as appropriate to include OS specific libraries. OSLIBS = -lkvm LIBS = -lXpm $(OSLIBS) CFLAGS += -Wall $(OS) OBJS = wmcube.o .c.o: $(CC) $(CFLAGS) $(INCDIR) -c $< -o $*.o wmcube: $(OBJS) $(CC) -o wmcube $(OBJS) $(LIBDIR) $(LIBS) all:: wmcube clean:: for i in $(OBJS) ; do \ rm -f $$i ; \ done rm -f wmcube rm -f *~ install:: wmcube cp -f wmcube /usr/local/bin/ chmod g+s /usr/local/bin/wmcube chown root.kmem /usr/local/bin/wmcube @echo "wmCube installation finished..."