CC=	gcc
#optimised
CFLAGS=	-c -ansi -Wall -O2 $(INCL)
#debugging
#CFLAGS=	-c -ansi -Wall -O0 $(INCL)
LFLAGS=
INCL=	-I.
RM="rm" -f
LIBS=

OBJS =\
	template.o

default:	template

template:       template.o
	$(CC) $(LFLAGS) -o $@ $(OBJS) $(LIBS)

template.o:     template.c template.h
	$(CC) $(CFLAGS) template.c

clean:
	$(RM) template $(OBJS)
