#
#  Triton - The object oriented GUI creation system for the Amiga
#  Written by Stefan Zeiger in 1993-1995
#
#  (c) 1993-1995 by Stefan Zeiger
#  You are hereby allowed to use this source or parts of it for
#  creating programs for AmigaOS which use the Triton GUI creation
#  system. All other rights reserved.
#
#  SMakefile - Makefile for SAS/C SMake
#


CC	= sc

CFLAGS	= LINK LIB=lib:triton.lib NOICONS

all: Demo EnvPrint trLogo ToolManager1 ToolManager2 ToolManager3 ProgInd CustomClass

Demo: Demo.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

EnvPrint: EnvPrint.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

trLogo: trLogo.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

ToolManager1: ToolManager1.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

ToolManager2: ToolManager2.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

ToolManager3: ToolManager3.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

ProgInd: ProgInd.c
	@$(CC) $(CFLAGS) $@
	delete $@.o $@.lnk

CustomClass: CustomClass.c
	@$(CC) $(CFLAGS) MATH=standard $@
	delete $@.o $@.lnk
