#
# $Id: Makefile,v 1.2 1998/07/17 18:11:32 nicb Exp $
#								scale Makef

TOP = ../..

include $(TOP)/Make.Variables

THISDIR=util2/scale.dir
OBJS = scale.o
SRCS = $(OBJS:.o=.c) Makefile
INCLUDES+=-I$(TOP)
LDFLAGS:=-L$(TOP) $(LDFLAGS)
SCALE=$(APP_PREFIX)scale
SUBPROGS=$(SCALE)

$(SCALE):	scale.o
		$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

install: 	$(SCALE)
		if [ ! -d $(DEST) ]; then $(MKDIR) $(DEST); fi
		$(INSTALL) -s -m 755 $(SCALE) $(DEST)

include $(TOP)/Make.Subdirs
#
# $Log: Makefile,v $
# Revision 1.2  1998/07/17 18:11:32  nicb
# [changes and additions by nicb@axnet.it]
#
# - configure process:
# 	- added canonical host detection and install detection
# 	- modified Makefiles to suit the install macro better
# 	- static linking does not imply -static anymore (not standalone,
# 	  just with csound library integration)
#
# - sources:
# 	- integrated back some changes made to suit the dynamical
# 	  main/library linking that somehow got lost in the original
# 	  sources (wonder how it did work up to now, but anyway it
# 	  was not working for static linking)
#
# Revision 1.1.1.1  1998/07/08 20:48:18  nicb
# - Initial Revision (second rebuilding of the repository)
#
# Revision 0.0  1998/05/16 12:07:29  nicb
# Initial Revision
#
