#
#	"sepaspc"
#			(C) Copyright 1991, All rights reserved by ICOT


INCLUDES = config.h define.h wchar.h kio.h sepaspc.h sepaspc_g.h
SEPASPC_SRCS = sepaspc.c sepaspc_s.c find.c 
SEPASPC_OBJS = sepaspc.o sepaspc_s.o find.o 

TARGETS = sepaspc

CDEBUG_FLAGS = -O
CFLAGS = $(CDEBUG_FLAGS)
LINT_FLAGS = -b

CC = cc
INSTALL = install
INSTOPT = -c
INSTDIR = ./

all: $(TARGETS)

sepaspc: $(SEPASPC_OBJS)
	$(CC) $(LDFLAGS) -o sepaspc $(SEPASPC_OBJS)

install: $(TARGETS)
	$(INSTALL) $(INSTOPT) sepaspc $(INSTDIR)

sepaspc.o: config.h define.h wchar.h sepaspc.h
sepaspc_s.o: config.h define.h wchar.h  find.h sepaspc.h sepaspc_g.h
find.o: config.h define.h wchar.h find.h

lint: lint_sepaspc
lint: lint_sepaspc_s

lint_sepaspc:
	lint $(LINT_FLAGS) sepaspc.c find.c

lint_sepaspc_s:
	lint $(LINT_FLAGS) sepaspc_s.c find.c

clean:
	rm -f *~ core $(SEPASPC_OBJS) *.dvi *aux *.log

