# @(#)makefile	19.1 (ESO-IPG) 02/25/03 14:36:06 
#.COPYRIGHT:	Copyright (c) 1990 European Southern Observatory,
#						all rights reserved
#.TYPE		make file
#.NAME		makefile
#.LANGUAGE	makefile syntax
#.ENVIRONMENT	Unix Systems. 
#.COMMENT	Compiles source files and generates utility programs
#
#.REMARKS	
#.AUTHOR	Preben J.Grosbol, ESO/IPG
#.VERSION       1.0	1990-Aug-24 :  Creation, PJG
#.VERSION       1.1	1991-Oct-01 :  Creating makefile.com
# .VERSION 3.0  930308:		Using default.mk file

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

M = ../exec

LIBL =	-L$(LIBDIR) -lmidas.a

LIBS =	$(LIBDIR)/libmidas.a

OBJ = midashelp.o

OUT = $(M)/midashelp.exe

# DEPENDENCIES
all: $(OUT)

$(M)/midashelp.exe: midashelp.o $(LIBS)
	$(LDCC) midashelp.o $(LLIB) $(SLIB) -o $@
	$(STRIP) $@

clean:
	rm -f $(OBJ)

clean_exec:
	rm -f $(OUT)
