source: trunk/src/cppbase/makefile@ 422

Last change on this file since 422 was 422, checked in by pr, 11 years ago

Add BSTokenizer class.

  • Property svn:eol-style set to CRLF
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1#
2# See make\readme.txt about an introduction to the make system introduced
3# in the CVS trunk on 2003-01-28.
4#
5# Copyright (C) 1998-2015 Ulrich M”ller.
6# This file is part of the XWorkplace source package.
7# XWorkplace is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published
9# by the Free Software Foundation, in version 2 as it comes in the
10# "COPYING" file of the XWorkplace main distribution.
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16
17# ***************************************************************************
18# *
19# * 1) include generic setup definitions (compiler options etc.)
20# *
21# ***************************************************************************
22
23!include $(PROJECT_BASE_DIR)\config.in
24!include $(PROJECT_BASE_DIR)\make\setup.in
25
26# ***************************************************************************
27# *
28# * 2) include mode-specific compiler inference rules
29# *
30# ***************************************************************************
31
32!ifndef CC_HELPERS
33CC_HELPERS = error!
34!endif
35
36!ifndef NOINCLUDEDEPEND
37!ifndef OUTPUTDIR_HELPERS
38!error OUTPUTDIR_HELPERS is not defined.
39!endif
40!endif
41
42CC = $(CC_HELPERS)
43OUTPUTDIR = $(OUTPUTDIR_HELPERS)
44
45!include $(MAKE_INCLUDE_DIR)\_sub_compile.in
46
47# ***************************************************************************
48# *
49# * 3) list objects to be built
50# *
51# ***************************************************************************
52
53OBJS = $(OUTPUTDIR)\bs_base.obj\
54$(OUTPUTDIR)\bs_config.obj\
55$(OUTPUTDIR)\bs_logger.obj\
56$(OUTPUTDIR)\bs_string_base.obj\
57$(OUTPUTDIR)\bs_string.obj\
58$(OUTPUTDIR)\bs_string_uni.obj\
59$(OUTPUTDIR)\bs_string_conv.obj\
60$(OUTPUTDIR)\bs_tokenizer.obj
61
62# ***************************************************************************
63# *
64# * 4) define specific stuff for linker include
65# *
66# ***************************************************************************
67
68# ***************************************************************************
69# *
70# * 5) link executable
71# *
72# ***************************************************************************
73
74ALLTARGET = $(OUTPUTDIR)\cppbase.lib
75
76# ***************************************************************************
77# *
78# * 6) define main target
79# *
80# ***************************************************************************
81
82!include $(MAKE_INCLUDE_DIR)\targets.in
83
84$(OUTPUTDIR)\cppbase.lib: $(OBJS)
85 - del $@
86 ilib /nol /nob $@ @<<$(TEMP)\ilib.lnk
87+$(OBJS: =&^
88);
89<<
90
Note: See TracBrowser for help on using the repository browser.