head	39.3;
access;
symbols
	V39_2:39.3
	V39_1:39.1;
locks; strict;
comment	@# @;


39.3
date	95.11.13.23.53.29;	author StRuppert;	state Exp;
branches;
next	39.2;

39.2
date	95.11.13.23.45.50;	author StRuppert;	state Exp;
branches;
next	39.1;

39.1
date	95.08.07.23.46.06;	author StRuppert;	state Exp;
branches;
next	;


desc
@initial
@


39.3
log
@*** empty log	message	***
@
text
@#
# $PROJECT: cli.datatype
#
# $VER: Makefile 39.1 (06.08.95)
#
# by
#
# Stefan Ruppert , Windthorststrasse 5 , 65439 Floersheim , GERMANY
#
# (C) Copyright 1995
# All Rights Reserved !
#
# $HISTORY:
#
# 06.08.95 : 039.001 : initial
#

NAME     = cli.datatype
SHNAME   = clidt
REVFILE  = cli_rev.i classbase.i

OBJDIR   = /objs/$(SHNAME)

LIBS     = $(OBJDIR)/$(NAME)
LIBSDEST = Sys:Classes/DataTypes

HEADER   = classbase.h
PROTOS   = protos.h

CSRCS    = classbase.c dispatch.c
ASRCS    = classinit.asm endcode.asm
SRCS     = $(ASRCS) $(CSRCS)
OBJ      = classinit.o $(CSRCS:%.c=%.o) endcode.o

OBJS     = $(patsubst %,$(OBJDIR)/%,$(OBJ))

GST      = /objs/$(SHNAME)/inc.gst
GSTINC   = system.h
GSTOPTS  = GST $(subst /objs/,objs:,$(GST))

##############################################################################
#
# commands
#

MV       = mv
RM       = rm
CP       = cp
LD       = sc:c/slink

##############################################################################
#
# SAS definition
#

DEBUG      = DEBUG=LINE DEFINE=DEBUG
SCOPTS     = VERBOSE NOSTKCHK
SLOPT      = NOICONS VERBOSE SMALLDATA SMALLCODE
SCOPTIMIZE = CPU=68040
LIB        = lib:amiga.lib lib:sc.lib lib:debug.lib

all: $(OBJDIR) $(GST) $(LIBS)

$(LIBS): $(OBJS)
	-$(LD) from $(patsubst /objs/%,objs:%,$^) to $(subst /objs/,objs:,$@@) $(SLOPT) LIB $(LIB)
	$(CP) $@@ $(LIBSDEST)

include ../misc/sasc.mk

##############################################################################
#
# explicit dependencies
#

$(OBJDIR)/classinit.o: $(REVFILE)       # revision dependency

$(OBJS): $(HEADER)                      # header dependency

##############################################################################
#
# clean up
#

clean:
	$(RM) -R $(OBJDIR)/*


@


39.2
log
@*** empty log	message	***
@
text
@d65 1
a65 1
	$(LD) from $(patsubst /objs/%,objs:%,$^) to $(subst /objs/,objs:,$@@) $(SLOPT) LIB $(LIB)
@


39.1
log
@*** empty log	message	***
@
text
@d20 1
a20 1
REVFILE  = cli_rev.i
d49 1
d65 1
a65 1
	slink from $(patsubst /objs/%,objs:%,$^) to $(subst /objs/,objs:,$@@) $(SLOPT) LIB $(LIB)
@
