#----------------------------------------------------------------------------
# Makefile for C-scape Demo ver 4.0.1
# refer to Release notes for information on building C-scape
# Date: 12/16/1992
# Last: 11/23/1993
# Author: man (Andre Moeller)
#----------------------------------------------------------------------------
# Change the extension here (o or obj)
E=o

OBJS=csbord.$(E) csclok.$(E) csinit.$(E) csmenu.$(E) \
	 csstok.$(E) csttac.$(E) cswind.$(E) cswrld.$(E)

QOBJS = ../qgraphic/qgraphic3r.$(E) ../qgraphic/egavga3r.$(E) -DUSE_QGRAPHIC


#----------------------------------------------------------------------------
# QNX4 version
# Note that the QNX4 compile needs QGRAPHIC 

CFLAGS = -I../include -I../qgraphic -T1 -N6000 -ml -j -w3 $(QOBJS) \
	-l../lib/cscape.lib -l../lib/owl.lib

#	-l../lib/owl1.lib -l../lib/owl2.lib -l../lib/owl3.lib -l../lib/owl4.lib \
#	-l../lib/cscape1.lib -l../lib/cscape2.lib -l../lib/cscape3.lib -l../lib/cscape4.lib -g

csdemo: csdemo.$(E) $(OBJS)
	cc $(CFLAGS) -o csdemo csdemo.$(E) $(OBJS)

#----------------------------------------------------------------------------

