#
# @FILE@
#
# @DESCRIPTION@
#
# Author: @NAME@ <@EMAIL@>
# Date : %Date%
#
# %Revision%
#
# Targets:
# make all .......... Create ${PROG} [* default *]
# make install ...... Install ${PROG} to ${DESTDIR}
# make clean ........ Clean working files (e.g., .o)
# make clobber ...... Cleanup (clean + ${PROG})
#
# Folowing targets are only for developers
# make update ....... CVS update (Repository -> current directory)
# make commit ....... CVS commit (current directory -> Repository)
#
#CC = cc
CC = gcc
CFLAG = -g -Wall -Dlint
PROG = Program Name
DESTDIR = Destination directory
RM = rm -f
all: program
program :
${CC} program.c ${CFLAG}
install: all
install -c -m 755 ${PROG} ${DESTDIR}
clean:
${RM} *.o
clobber: clean
${RM} ${PROG} *.o
#
# Developer only targets
#
update: clobber
cvs update
commit: clobber
cvs commit
#
# %Id%
#
# Local Variables:
# mode: make
# mode: font-lock
# version-control: t
# delete-old-versions: t
# End:
#
# -*- End-Of-File -*-
syntax highlighted by Code2HTML, v. 0.9.1