
# If you're not using background pixmaps, remove -lXpm from the LIBS.
# If your X libraries are somewhere other than /usr/X11/lib, give their
# location here.
LIBS	=  -L/usr/X11/lib -lXext -lX11 -lXmu #-lm

CC	= gcc
CCC	= gcc
CFLAGS	= -O2 -fno-exceptions
OBJECTS	= Border.o Buttons.o Channel.o Client.o Events.o Main.o Manager.o Menu.o Rotated.o

.c.o:
	$(CC) -c $(CFLAGS) $<

.C.o:
	$(CCC) -c $(CFLAGS) $<

wm110:	$(OBJECTS)
	mv -f wm110 wm110.old >& /dev/null || true
	$(CCC) -o wm110 $(OBJECTS) $(LIBS)

depend:
	makedepend -- $(CFLAGS) -- *.C

clean:
	rm -f *.o core

distclean: clean
	rm -f wm110 wm110.old *~

