4 # Resouce compiler make rules
6 # Portable Windows Library
8 # Copyright (c) 1993-1998 Equivalence Pty. Ltd.
10 # The contents of this file are subject to the Mozilla Public License
11 # Version 1.0 (the "License"); you may not use this file except in
12 # compliance with the License. You may obtain a copy of the License at
13 # http://www.mozilla.org/MPL/
15 # Software distributed under the License is distributed on an "AS IS"
16 # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
17 # the License for the specific language governing rights and limitations
20 # The Original Code is Portable Windows Library.
22 # The Initial Developer of the Original Code is Equivalence Pty. Ltd.
24 # Portions are Copyright (C) 1993 Free Software Foundation, Inc.
25 # All Rights Reserved.
27 # Contributor(s): ______________________________________.
31 COMMON_SOURCES
= main.
cxx codegen.
cxx unix.
cxx
32 SOURCES
= pr_gramm.
cxx pr_lex.
cxx $(COMMON_SOURCES
)
34 CLEAN_FILES
= pr_gramm.
cxx pr_gramm.h pr_gramm.output pr_lex.
cxx
37 PWLIBDIR
=$(HOME
)/pwlib
41 include $(PWLIBDIR
)/make
/defaultgui.mak
42 REALGUI
:= $(GUI_TYPE
)
46 OBJDIR
= .
/obj_
$(REALGUI
)_
$(PLATFORM_TYPE
)_
$(OBJ_SUFFIX
)
48 STDCCFLAGS
= -I
$(PWLIBDIR
)/include/pwlib
/$(REALGUI
)
51 include $(PWLIBDIR
)/make
/ptlib.mak
52 include $(PWLIBDIR
)/make
/$(REALGUI
).mak
54 pr_gramm.
cxx: pr_gramm.y
55 @if
[ ! -d
$(OBJDIR
) ] ; then mkdir
$(OBJDIR
) ; fi
56 bison
-t
-v
-d
-o
$* $<