wmii/libcext/Makefile

28 lines
423 B
Makefile
Raw Normal View History

2005-11-18 18:54:58 +03:00
# libcext - c extensions for wmii project
2006-01-20 17:20:24 +03:00
# (C)opyright MMIV-MMVI Anselm R. Garbe
2005-11-18 18:54:58 +03:00
include ../config.mk
SRC = emallocz.c estrdup.c strlcat.c strlcpy.c strtonum.c tokenize.c trim.c vector.c
2005-11-18 18:54:58 +03:00
OBJ = ${SRC:.c=.o}
.PREFIXES = .c .o
all: libcext.a
2005-11-18 18:54:58 +03:00
@echo built libcext
.c.o:
@echo CC $<
@${CC} -c ${CFLAGS} $<
$(OBJ): cext.h
libcext.a: ${OBJ}
@echo AR $@
@${AR} $@ ${OBJ}
@${RANLIB} $@
2005-11-18 18:54:58 +03:00
clean:
rm -f libcext.a *.o