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 wrap: on
line diff
--- a/Makefile	Mon Dec 17 12:14:41 2007 +0100
+++ b/Makefile	Mon Dec 17 15:09:03 2007 +0100
@@ -15,16 +15,17 @@
 SRC=birthday.c bdengine.c
 OBJ=$(SRC:.c=.o)
 
-CFLAGS=-O2 -Wall -Wstrict-prototypes
+CFLAGS=-O2 -Wall
 
-all:
-	@echo usage: make [un]install
+all: build
 
 build: ${NAME}
 
 ${NAME}: $(OBJ)
 	$(CC) $(LDFLAGS) $(OBJ) -o $@
 
+car: clean all
+
 dist: build changelog
 	@mkdir -p ${NV}
 	@cp -f ${NAME} ${NAME}.1 Makefile ${DOCS} ${NV}