wmii/cmd/Makefile
2006-03-14 13:32:08 +01:00

26 lines
517 B
Makefile

# window manager improved 2 utilities
# (C)opyright MMIV-MMVI Anselm R. Garbe
include ../config.mk
CFLAGS += -I../liblitz -I../libixp -I../libcext
LDFLAGS += -L../liblitz -llitz -L../libixp -lixp -L../libcext -lcext
SRC = wmiimenu.c wmiipsel.c wmiir.c wmiiwarp.c
OBJ = ${SRC:.c=.o}
all: ${OBJ}
@echo built wmii commands
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
@echo LD $*
@${CC} -o $* $*.o ${LDFLAGS}
# Solaris
# @${CC} -o $* $*.o ${LDFLAGS} -lsocket
clean:
rm -f wmiimenu wmiir wmiipsel wmiiwarp *.o