#!smake -J 1
#-------------------------------------------------------------------------#
#-- Makefile for "perfly" the basic demonstration program		--#
#-------------------------------------------------------------------------#
#-- RCS version information						--#
#--   $Revision: 1.1 $							--#
#--   $Date: 1999/08/26 00:25:31 $					--#
#-------------------------------------------------------------------------#

PFROOT ?= $(ROOT)
include $(PFROOT)/usr/share/Performer/src/pfmakedefs

#-- provide a list of alternate locations for file searches
UNIQUE	= ..
COMMON	= ../../common

PFROOT ?= $(ROOT)

#-- alternate locatins for included files
LCINCS += \
	-I${UNIQUE} \
	-I${COMMON}


#-- base name of program
TARGET	= perfly

#-- files from which the target is built {some are in the common directory}
CFILES = \
	cmdline.c \
	configfile.c \
	generic.c \
	env.c \
	gui.c \
	keybd.c \
	perfly.c \
	main.c

OGLLIB != echo $(OGLLIB) | sed 's/-lpfui//g'
#OGLLIB += -L.. -lcc360 ../libpfui.so 
OGLLIB += -L.. -lcc360 -lpfuiG -lil

include $(PFROOT)/usr/share/Performer/src/pfmakerules

#-- objects are built from either unique or common files
.PATH: ${UNIQUE} ${COMMON}
