mirror of
https://github.com/0intro/wmii
synced 2024-11-26 07:39:37 +03:00
27 lines
442 B
Makefile
27 lines
442 B
Makefile
# libwmii - mediator lib for wmii
|
|
# (C)opyright MMIV-MMV Anselm R. Garbe
|
|
|
|
include ../config.mk
|
|
|
|
CFLAGS += -I../liblitz -I../libixp -I../libcext
|
|
LDFLAGS += -L../liblitz -llitz -L../libixp -lixp -L../libcext -lcext
|
|
|
|
SRC = ixputil.c spawn.c wm.c
|
|
|
|
OBJ = ${SRC:.c=.o}
|
|
|
|
all: libwmii
|
|
@echo built libwmii
|
|
|
|
.c.o:
|
|
@echo CC $<
|
|
@${CC} -c ${CFLAGS} $<
|
|
|
|
libwmii: ${OBJ}
|
|
@echo AR $@.a
|
|
@${AR} $@.a ${OBJ}
|
|
@${RANLIB} $@.a
|
|
|
|
clean:
|
|
rm -f libwmii.a *.o
|