1# $Id: Makefile.DST,v 1.1 1998/03/07 02:22:46 yjlee Exp $
2# Common rules for Distribution version as RCS-managmented Makefile replica.
3
4# Macros to be defined before by the caller.
5#
6#   PROJECT	# default target to build
7#   PROGRAMS	# built target which can be removed
8#   LOCAL_FILES	 # RCS managed local files (can edit in the project)
9#   SHARED_FILES # RCS managed shared files (can not edit in the project)
10#   OBJS	# object files. needed for makedepend
11#   LIBS
12#   CFLAGS
13#
14# This file should be included after setting the macors above and
15# before any rule of caller.
16#
17# Caller should define the rule for target $(PROJECT)
18# after including this file.
19
20
21SHELL	= /usr/bin/sh
22FILES	= $(LOCAL_FILES) $(SHARED_FILES)
23
24.c.o:
25	$(CC) $(CFLAGS) -c $<
26
27build: all
28
29all: $(PROJECT)
30
31clean:
32	rm -f Makefile.bak *.o $(PROGRAMS)
33
34# End of common rules
35