21625f40b5
I tried to get the latest versions from dockapps.org, but I haven't tested any of them. More dockapps will be added as time permits.
18 lines
361 B
Makefile
18 lines
361 B
Makefile
CC = gcc
|
|
CFLAGS = -Wall -O3
|
|
LIBDIR = -L/usr/X11R6/lib
|
|
LIBS = -lXpm -lXext -lX11
|
|
OBJS = wmsm.o ../wmgeneral/wmgeneral.o ../wmgeneral/misc.o ../wmgeneral/list.o
|
|
PREFIX = /usr/X11R6/bin
|
|
INSTALL = /usr/bin/install
|
|
|
|
wmsm: $(OBJS)
|
|
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LIBDIR) $(LIBS)
|
|
|
|
install: wmsm
|
|
$(INSTALL) -m 755 $< $(PREFIX)
|
|
|
|
clean:
|
|
rm -f $(OBJS)
|
|
rm -f wmsm
|