mirror of https://github.com/0intro/wmii
26 lines
506 B
Makefile
26 lines
506 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
|
|
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
|