bday
annotate Makefile @ 0:22b6e71de68e
initial commit; codebase from birthday; just the needed stuff; substituted getopt by own code
author | meillo@marmaro.de |
---|---|
date | Sun, 16 Dec 2007 22:26:48 +0100 |
parents | |
children | 8534f0e3a0db |
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@0 | 19 install: birthday birthday.man |
meillo@0 | 20 mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/share/man/man1 |
meillo@0 | 21 cp ${EXE} $(DESTDIR)/usr/bin/${EXE} |
meillo@0 | 22 chmod 0755 $(DESTDIR)/usr/bin/${EXE} |
meillo@0 | 23 cp ${EXE}.man $(DESTDIR)/usr/share/man/man1/${EXE}.1 |
meillo@0 | 24 chmod 0644 $(DESTDIR)/usr/share/man/man1/${EXE}.1 |
meillo@0 | 25 |
meillo@0 | 26 |
meillo@0 | 27 clean: |
meillo@0 | 28 rm -f *.o |
meillo@0 | 29 |
meillo@0 | 30 realclean: clean |
meillo@0 | 31 rm -f ${EXE} |