mirror of
https://github.com/0intro/wmii
synced 2024-12-04 11:11:59 +03:00
27 lines
449 B
Makefile
27 lines
449 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 util.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
|