bday
diff Makefile @ 5:5af6bf2cb271
reads only stdin now, no files anymore; removed -f option aswell; code beatifing
author | meillo@marmaro.de |
---|---|
date | Mon, 17 Dec 2007 15:09:03 +0100 |
parents | dc2f94280b01 |
children | b6f4c7fba64a |
line diff
1.1 --- a/Makefile Mon Dec 17 12:14:41 2007 +0100 1.2 +++ b/Makefile Mon Dec 17 15:09:03 2007 +0100 1.3 @@ -15,16 +15,17 @@ 1.4 SRC=birthday.c bdengine.c 1.5 OBJ=$(SRC:.c=.o) 1.6 1.7 -CFLAGS=-O2 -Wall -Wstrict-prototypes 1.8 +CFLAGS=-O2 -Wall 1.9 1.10 -all: 1.11 - @echo usage: make [un]install 1.12 +all: build 1.13 1.14 build: ${NAME} 1.15 1.16 ${NAME}: $(OBJ) 1.17 $(CC) $(LDFLAGS) $(OBJ) -o $@ 1.18 1.19 +car: clean all 1.20 + 1.21 dist: build changelog 1.22 @mkdir -p ${NV} 1.23 @cp -f ${NAME} ${NAME}.1 Makefile ${DOCS} ${NV}