Mercurial > bday
view Makefile @ 2:9ec037775c38
removed code for &include in input files
author | meillo@marmaro.de |
---|---|
date | Mon, 17 Dec 2007 08:02:15 +0100 |
parents | 8534f0e3a0db |
children | dc2f94280b01 |
line wrap: on
line source
###################################################################### # birthday. Reminder of birthdays and other events in the near future. # $Id: Makefile.in,v 1.3 2000/01/02 19:17:33 andy Exp $ CFLAGS=-O2 -Wall -Wstrict-prototypes SRC=birthday.c bdengine.c OBJ=$(SRC:.c=.o) EXE=bday all: ${EXE} ${EXE}: $(OBJ) $(CC) $(LDFLAGS) $(OBJ) -o $@ install: all @echo "installing program in $(DESTDIR)/usr/bin" mkdir -p $(DESTDIR)/usr/bin cp ${EXE} $(DESTDIR)/usr/bin/${EXE} chmod 0755 $(DESTDIR)/usr/bin/${EXE} @echo "installing manpage in $(DESTDIR)/usr/share/man/man1" mkdir -p $(DESTDIR)/usr/share/man/man1 cp ${EXE}.1 $(DESTDIR)/usr/share/man/man1/${EXE}.1 chmod 0644 $(DESTDIR)/usr/share/man/man1/${EXE}.1 clean: rm -f *.o realclean: clean rm -f ${EXE}