#
# $Id: Makefile,v 1.2 1998/07/17 18:11:11 nicb Exp $
#								ADSYN makef
TOP=../..

include $(TOP)/Make.Variables

THISDIR=anal/adsyn
OBJS =  main.o
SRCS = $(OBJS:.o=.c) Makefile
SUBPROGS=$(APP_PREFIX)hetro$(EXE)
LDFLAGS:=-L$(TOP) $(LDFLAGS)

$(SUBPROGS):	$(OBJS)
	$(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)

install: $(SUBPROGS)
	if [ ! -d $(DEST) ]; then $(MKDIR) $(DEST); fi
	for i in $(SUBPROGS);\
	do \
		$(INSTALL) -s -m 755 $$i $(DEST); \
	done

include $(TOP)/Make.Subdirs
#
# $Log: Makefile,v $
# Revision 1.2  1998/07/17 18:11:11  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:04:30  nicb
# Initial Revision
#
