wmii/cmd/wm/Makefile
2006-02-02 14:20:07 +02:00

28 lines
561 B
Makefile

# wm - window manager improved 2
# (C)opyright MMIV-MMVI Anselm R. Garbe
include ../../config.mk
CFLAGS += -I../../liblitz -I../../libixp -I../../libwmii \
-I../../libcext
LDFLAGS += -L../../liblitz -llitz -L../../libwmii -lwmii \
-L../../libixp -lixp -L../../libcext -lcext
# Solaris
# LDFLAGS += -lsocket
SRC = fs.c wm.c client.c event.c mouse.c page.c column.c
OBJ = ${SRC:.c=.o}
all: wmiiwm
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
wmiiwm: ${OBJ}
@echo LD $@
@${CC} -o $@ ${OBJ} ${LDFLAGS}
clean:
rm -f wmiiwm *.o