wmii/cmd/Makefile

26 lines
517 B
Makefile
Raw Normal View History

2005-11-18 18:54:58 +03:00
# window manager improved 2 utilities
2006-01-20 17:20:24 +03:00
# (C)opyright MMIV-MMVI Anselm R. Garbe
2005-11-18 18:54:58 +03:00
include ../config.mk
CFLAGS += -I../liblitz -I../libixp -I../libcext
LDFLAGS += -L../liblitz -llitz -L../libixp -lixp -L../libcext -lcext
2005-11-18 18:54:58 +03:00
2006-03-14 15:32:08 +03:00
SRC = wmiimenu.c wmiipsel.c wmiir.c wmiiwarp.c
2006-02-24 13:53:12 +03:00
OBJ = ${SRC:.c=.o}
2005-11-18 18:54:58 +03:00
2006-02-24 13:53:12 +03:00
all: ${OBJ}
@echo built wmii commands
2005-11-18 18:54:58 +03:00
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
2006-02-24 13:53:12 +03:00
@echo LD $*
@${CC} -o $* $*.o ${LDFLAGS}
2005-11-18 18:54:58 +03:00
# Solaris
2006-02-24 13:53:12 +03:00
# @${CC} -o $* $*.o ${LDFLAGS} -lsocket
2005-11-18 18:54:58 +03:00
clean:
rm -f wmiimenu wmiir wmiipsel wmiiwarp *.o