# .TYPE		make file
# .NAME		$MIDASHOME/$MIDVERS/contrib/rgb/src/makefile 
# .LANGUAGE	makefile syntax
# .ENVIRONMENT	Unix Systems. 
# .COMMENT	Compiles source files 
#
# .REMARKS	
# .AUTHOR	K. Banse
# .VERSION 1.0  090209

include ../../../local/default.mk

M = ../../exec

LLIB = -L$(LLIBDIR) -list -L$(LIBDIR) -lmidas

LIBS =	$(LLIBDIR)/libist.a\
	$(LIBDIR)/libmidas.a 

OUT =   $(M)/rgbhjr.exe


# DEPENDENCIES:
all: $(MAKEFILE_VMS) $(OUT)

$(MAKEFILE_VMS): makefile
	$(MAKE_VMS)

$(M)/rgbhjr.exe: rgbhjr.o $(LIBS)
	$(LD77) rgbhjr.o $(LLIB) $(SLIB) -o $@
	$(STRIP) $@

clean_exec:
	rm -f $(OUT)

clean:
	rm -f *.o
	rm -f *.f
