wmii/libcext/Makefile
2006-04-03 16:48:41 +02:00

28 lines
416 B
Makefile

# libcext - c extensions for wmii project
# (C)opyright MMIV-MMVI Anselm R. Garbe
include ../config.mk
SRC = emallocz.c estrdup.c strlcat.c strlcpy.c strtonum.c tokenize.c vector.c
OBJ = ${SRC:.c=.o}
.PREFIXES = .c .o
all: libcext.a
@echo built libcext
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
$(OBJ): cext.h
libcext.a: ${OBJ}
@echo AR $@
@${AR} $@ ${OBJ}
@${RANLIB} $@
clean:
rm -f libcext.a *.o