##  Copyright 2005 Sveasoft Inc.
##  
##     Licensed under the Apache License, Version 2.0 (the "License")
##     with the following addendum:
##     
##     ADDENDUM
##     
##     10. This code may not be used, distributed, aggregated, or 
##     relicensed under any other license that restricts its use 
##     further than the stipulations of the Apache License, Version 2.0.
##     Specifically this code may not be relicensed under any version of 
##     the GPL or LGPL licenses. 
##     
##     The Apache License, Version 2.0 will apply to the entire work for
##     any derived, aggregated, compiled, or other works, in source or 
##     binary form, of this source code when combined with source code or  
##     binary compilationslicensed under a more restrictive license, such 
##     as the GPL or LGPL.
##     
##     END OF ADDENDUM
##     
##     You may not use this file except in compliance with the License.
##     You may obtain a copy of the License at
##  
##         http://www.apache.org/licenses/LICENSE-2.0
##  
##     Unless required by applicable law or agreed to in writing, software
##     distributed under the License is distributed on an "AS IS" BASIS,
##     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
##     See the License for the specific language governing permissions and
##     limitations under the License.
## 

#
# Toplevel Makefile for the Sveasoft Firmware

RELEASEDIR := $(shell pwd)
SRCBASE := src
IMAGEDIR := $(RELEASEDIR)/image

install: all
	install -d $(RELEASEDIR)/image
	$(MAKE) -C src install

all clean:
	$(MAKE) -C src $@

distclean:
	$(MAKE) -C src $@
	rm -rf $(IMAGEDIR)

.PHONY: all clean install

