source: main/trunk/gs2-core/common-src/win32.mak@ 22824

Last change on this file since 22824 was 22824, checked in by mdewsnip, 14 years ago

Lots of makefile tidy ups (both Windows and Linux), for consistency and flexibility.

File size: 772 bytes
Line 
1###########################################################################
2#
3# win32.mak -- Windows Makefile for common-src
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010 DL Consulting Ltd.
8#
9###########################################################################
10
11
12# Option: Lucene support (enabled by default)
13ENABLE_LUCENE = 1
14!IF $(ENABLE_LUCENE)
15LUCENE_SUBDIRS = indexers packages\expat
16!ENDIF
17
18# Option: SQLite support (enabled by default)
19USE_SQLITE = 1
20!IF $(USE_SQLITE)
21SQLITE_SUBDIRS = packages\sqlite
22!ENDIF
23
24SUBDIRS = $(LUCENE_SUBDIRS) $(SQLITE_SUBDIRS) packages\windows\crypt\crypt src\lib
25
26
27all: win32.mak $(SUBDIRS)
28
29install: win32.mak $(SUBDIRS)
30
31$(SUBDIRS): FORCE
32 cd "$@"
33 $(MAKE) /f win32.mak
34 $(MAKE) /f win32.mak install
35 cd "$(MAKEDIR)"
36
37FORCE:
Note: See TracBrowser for help on using the repository browser.