bday
annotate Makefile @ 2:9ec037775c38
removed code for &include in input files
author | meillo@marmaro.de |
---|---|
date | Mon, 17 Dec 2007 08:02:15 +0100 |
parents | 22b6e71de68e |
children | dc2f94280b01 |
rev | line source |
---|---|
meillo@0 | 1 ###################################################################### |
meillo@0 | 2 # birthday. Reminder of birthdays and other events in the near future. |
meillo@0 | 3 # $Id: Makefile.in,v 1.3 2000/01/02 19:17:33 andy Exp $ |
meillo@0 | 4 |
meillo@0 | 5 |
meillo@0 | 6 CFLAGS=-O2 -Wall -Wstrict-prototypes |
meillo@0 | 7 |
meillo@0 | 8 |
meillo@0 | 9 SRC=birthday.c bdengine.c |
meillo@0 | 10 OBJ=$(SRC:.c=.o) |
meillo@0 | 11 EXE=bday |
meillo@0 | 12 |
meillo@0 | 13 all: ${EXE} |
meillo@0 | 14 |
meillo@0 | 15 ${EXE}: $(OBJ) |
meillo@0 | 16 $(CC) $(LDFLAGS) $(OBJ) -o $@ |
meillo@0 | 17 |
meillo@0 | 18 |
meillo@1 | 19 install: all |
meillo@1 | 20 @echo "installing program in $(DESTDIR)/usr/bin" |
meillo@1 | 21 mkdir -p $(DESTDIR)/usr/bin |
meillo@0 | 22 cp ${EXE} $(DESTDIR)/usr/bin/${EXE} |
meillo@0 | 23 chmod 0755 $(DESTDIR)/usr/bin/${EXE} |
meillo@1 | 24 @echo "installing manpage in $(DESTDIR)/usr/share/man/man1" |
meillo@1 | 25 mkdir -p $(DESTDIR)/usr/share/man/man1 |
meillo@1 | 26 cp ${EXE}.1 $(DESTDIR)/usr/share/man/man1/${EXE}.1 |
meillo@0 | 27 chmod 0644 $(DESTDIR)/usr/share/man/man1/${EXE}.1 |
meillo@0 | 28 |
meillo@0 | 29 |
meillo@0 | 30 clean: |
meillo@0 | 31 rm -f *.o |
meillo@0 | 32 |
meillo@0 | 33 realclean: clean |
meillo@0 | 34 rm -f ${EXE} |