#
# GNU Makefile for the A++ Test programs
# Copyright (C)1994 by Armin Vogt
#
# This makefile has been created automatically with 'maketst'
# $Id: maketst,v 1.1 1994/07/20 19:27:38 Armin_Vogt Exp Armin_Vogt 0
#

TESTPRGS        =      /apphome/TESTPRGS/
APPINCLUDE      =      /appinclude/

#
# if the Commodore headers are not present in gcc:os-include
# define their path here..
CHEADERS        =      /include


CC      =  g++
CFLAGS  =  -O2

LIBNAME    =	aplusplus
LIBDIR     = /apphome/gnuc++/APPlibrary

ERRORPIPE  =  pipe:gnu_errors



.SUFFIXES: .o .c .cxx

.cxx.o:
	$(CC) -c -I/gcc/include -I$(APPINCLUDE) -I$(CHEADERS) $(CFLAGS) $< >$(ERRORPIPE)


# The order of include directory declarations in crucial when
# CHEADERS is used. GNU standard headers must have a higher priority
# than the ones in the CHEADERS (usually SAS standard headers!!)


all: \
 AttrList_test\
 LvObject_test\
 MsgPort_test\
 SigResp_test\
 TimedMsgPort_test\
 TypeInfo_test\
 AutoDrawArea_test\
 Canvas_test\
 TextView_test\
 BoopsiGadget_test\
 Constraints_test\
 GroupedButtons_test\
 GT_test\
 Listview_test\
 SimpleWindow_test\



AttrList_test: AttrList_test.o
	$(CC) AttrList_test.o -L$(LIBDIR) -l0(LIBNAME)

LvObject_test: LvObject_test.o
	$(CC) LvObject_test.o -L$(LIBDIR) -l0(LIBNAME)

MsgPort_test: MsgPort_test.o
	$(CC) MsgPort_test.o -L$(LIBDIR) -l0(LIBNAME)
^C
