mirror of
https://github.com/0intro/wmii
synced 2024-11-27 00:00:36 +03:00
26 lines
517 B
Makefile
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
|