# makefile
# A generic GNU make(1) makefile for VARKON MBS.

ROOTS=$(basename $(wildcard *.MBS))
OBJS=$(patsubst %,../lib/%.MBO,$(ROOTS))

all: $(OBJS)

$(OBJS): ../lib/%.MBO : %.MBS
	mbsc $*.MBS
	mv   $*.MBO ../lib

clean:
	rm -f *.MBO
	rm -f ../lib/*.MBO

# references: info make, Static Pattern Rules
#             info make, Automatic Variables

# Copyright 2003 by David M. MacMillan

# This work is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.

# NOTICE OF DISCLAIMER OF WARRANTY AND LIABILITY:

# This work is distributed WITHOUT ANY WARRANTY;
# without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.

# In no event will the author(s), editor(s), or publisher(s) of this work
# be liable to you or to any other party for damages,
# including but not limited to any general, special, incidental
# or consequential damages arising out of your use of or inability to use this
# work or the information contained in it, even if you have been advised
# of the possibility of such damages.

# In no event will the author(s), editor(s), or publisher(s) of this work
# be liable to you or to any other party for any injury, death,
# disfigurement, or other personal damage arising out of your use of
# or inability to use this work or the information
# contained in it, even if you have been advised of the
# possibility of such injury, death, disfigurement, or other
# personal damage.

# You should have received a copy of the GNU General Public License
# along with this work; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA  02111-1307, USA.

