head     1.1;
access   ;
symbols  KSUrelease-Aug93:1.1;
locks    ; strict;
comment  @# @;


1.1
date     93.06.29.08.56.14;  author bill;  state Exp;
branches ;
next     ;


desc
@ 
@


1.1
log
@Start
@
text
@# The following variables are configurable.
#-----------------------------------#
LOCALCFLAGS :=
LOCALIFLAGS := 
LOCALLFLAGS :=
LOCALSFLAGS :=

LIBS := ../lib/$(ARCH)/libcommon.a ../lib/$(ARCH)/libgen.a \
	../lib/$(ARCH)/libglobal.a -lc -lm
BINS := empchk file fland land ore randpop vchk
#-----------------------------------#

# Productions:
#	depend:	create the dependencies
#	all:	make the library
#	saber:	load things for saber
#	tags:	make tags

include ../make/GenMakefile
include $(DEPENDENCIES)

all: $(BINS)

ifdef ARCH

%: %.c
	$(CC) $(IFLAGS) $(CFLAGS) $< $(LIBS) $(TAILLIBS) -o $(ARCH)/$*

clean:
	rm -f $(BINS) *.o

install:
	cd $(ARCH); cp $(BINS) $(BINDIR)/

else

%: %.c
	$(CC) $(IFLAGS) $(CFLAGS) $< $(LIBS) $(TAILLIBS) -o $*

clean:
	rm -f $(BINS) *.o

install:
	cp $(BINS) $(BINDIR)/

endif
@
