1############################################################################### 2# Product: OpenCTM 3# File: Makefile.mingw 4# Description: Top level makefile for Windows / MinGW32. 5############################################################################### 6# Copyright (c) 2009 Marcus Geelnard 7# 8# This software is provided 'as-is', without any express or implied 9# warranty. In no event will the authors be held liable for any damages 10# arising from the use of this software. 11# 12# Permission is granted to anyone to use this software for any purpose, 13# including commercial applications, and to alter it and redistribute it 14# freely, subject to the following restrictions: 15# 16# 1. The origin of this software must not be misrepresented; you must not 17# claim that you wrote the original software. If you use this software 18# in a product, an acknowledgment in the product documentation would be 19# appreciated but is not required. 20# 21# 2. Altered source versions must be plainly marked as such, and must not 22# be misrepresented as being the original software. 23# 24# 3. This notice may not be removed or altered from any source 25# distribution. 26############################################################################### 27 28.phony: default all openctm toolset documentation clean 29 30default: openctm toolset 31all: openctm toolset documentation 32 33clean: 34 cd lib && $(MAKE) -f Makefile.mingw clean && cd .. 35 cd tools && $(MAKE) -f Makefile.mingw clean && cd .. 36 cd doc && $(MAKE) -f Makefile.win clean && cd .. 37 38openctm: 39 cd lib && $(MAKE) -f Makefile.mingw -j2 && cd .. 40 41toolset: 42 cd tools && $(MAKE) -f Makefile.mingw -j2 && cd .. 43 44documentation: 45 cd doc && $(MAKE) -f Makefile.win -j2 && cd .. 46