Changeset 6096 for trunk/tools


Ignore:
Timestamp:
Jun 25, 2001, 3:54:44 PM (24 years ago)
Author:
bird
Message:

Made Odin32 makefiles for wrc.exe.

Location:
trunk/tools/wrc
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/wrc/makefile

    r4616 r6096  
    1 !include makefile.os2
     1# $Id: makefile,v 1.4 2001-06-25 13:54:43 bird Exp $
     2
     3
     4#
     5# Directory macro.
     6#
     7ODIN32_BIN     = $(ODIN32_TOOLS)
     8
     9
     10#
     11# Tell buildenvironment that we're making an VIO .exe.
     12# Tell buildenvironment that we like to use static linked CRT.
     13# Tell buildenvironment that we should not copy this into /bin.
     14#
     15EXETARGET = 1
     16VIO = 1
     17STATIC_CRT = 1
     18NO_MAIN_BIN_COPY = 1
     19
     20# Subdirectories.
     21SUBDIRS = \
     22.\u
     23
     24
     25#
     26# include common definitions
     27#
     28CCENV=EMX
     29!include ../../makefile.inc
     30
     31#
     32# Addjust common definitions
     33#
     34#DEFS      = -D__WINE__ -D__WIN32OS2__ -idirafter ../../include/win -idirafter ../../include
     35CDEFINES   = -D__EMX__ -DMASM -D__SEMICOLON__
     36
     37YACC    = bison
     38YACCOPT = #-v
     39LEX     = flex
     40
     41
     42#
     43# Object extension.
     44#
     45OBJ = obj
     46
     47#
     48# Object files. Prefix with OBJDIR and one space before the '\'.
     49#
     50OBJS=\
     51$(OBJDIR)\dumpres.$(OBJ) \
     52$(OBJDIR)\genres.$(OBJ) \
     53$(OBJDIR)\newstruc.$(OBJ) \
     54$(OBJDIR)\preproc.$(OBJ) \
     55$(OBJDIR)\readres.$(OBJ) \
     56$(OBJDIR)\utils.$(OBJ) \
     57$(OBJDIR)\wrc.$(OBJ) \
     58$(OBJDIR)\y.tab.$(OBJ) \
     59$(OBJDIR)\lexyy.$(OBJ) \
     60$(OBJDIR)\ppy.tab.$(OBJ) \
     61$(OBJDIR)\lex.ppl.$(OBJ) \
     62$(OBJDIR)\writeres.$(OBJ) \
     63
     64
     65#
     66# Libraries. One space before the '\'.
     67#
     68LIBS = \
     69u\$(OBJDIR)\u.lib\
     70$(RTLLIB) \
     71os2386.lib
     72
     73
     74#
     75# Target name - name of the exe without extention and path.
     76#
     77TARGET = wrc
     78
     79
     80#
     81# Includes the common rules.
     82#
     83!include $(ODIN32_POST_INC)
     84
     85
     86#
     87# Extra rules.
     88#
     89y.tab.c y.tab.h: parser.y
     90    $(YACC) -d -t parser.y -o y.tab.c
     91
     92lexyy.c: parser.l
     93    $(LEX) -8 -d parser.l
     94
     95ppy.tab.c ppy.tab.h: ppy.y
     96    $(YACC) $(YACCOPT) -bppy -ppp -d -t ppy.y -o ppy.tab.c
     97
     98lex.ppl.c: ppl.l
     99    $(LEX) $(LEXOPT) -d -Ppp -8 -olex.ppl.c ppl.l
     100
Note: See TracChangeset for help on using the changeset viewer.