File: Makefile

package info (click to toggle)
wmii2 2.5.2-11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 608 kB
  • ctags: 925
  • sloc: ansic: 9,195; makefile: 184; sh: 11
file content (25 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# libcext - c extensions for wmii project
#   (C)opyright MMIV-MMV Anselm R. Garbe

include ../config.mk

SRC = array.c emalloc.c estrdup.c strlcat.c strlcpy.c strtonum.c tokenize.c

OBJ = ${SRC:.c=.o}

.PREFIXES = .c .o

all: libcext
	@echo built libcext

.c.o:
	@echo CC $<
	@${CC} -c ${CFLAGS} $<

libcext: ${OBJ}
	@echo AR $@.a
	@${AR} $@.a ${OBJ}
	@${RANLIB} $@.a

clean:
	rm -f libcext.a *.o