Changeset 6096 for trunk/tools
- Timestamp:
- Jun 25, 2001, 3:54:44 PM (24 years ago)
- 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 # 7 ODIN32_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 # 15 EXETARGET = 1 16 VIO = 1 17 STATIC_CRT = 1 18 NO_MAIN_BIN_COPY = 1 19 20 # Subdirectories. 21 SUBDIRS = \ 22 .\u 23 24 25 # 26 # include common definitions 27 # 28 CCENV=EMX 29 !include ../../makefile.inc 30 31 # 32 # Addjust common definitions 33 # 34 #DEFS = -D__WINE__ -D__WIN32OS2__ -idirafter ../../include/win -idirafter ../../include 35 CDEFINES = -D__EMX__ -DMASM -D__SEMICOLON__ 36 37 YACC = bison 38 YACCOPT = #-v 39 LEX = flex 40 41 42 # 43 # Object extension. 44 # 45 OBJ = obj 46 47 # 48 # Object files. Prefix with OBJDIR and one space before the '\'. 49 # 50 OBJS=\ 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 # 68 LIBS = \ 69 u\$(OBJDIR)\u.lib\ 70 $(RTLLIB) \ 71 os2386.lib 72 73 74 # 75 # Target name - name of the exe without extention and path. 76 # 77 TARGET = wrc 78 79 80 # 81 # Includes the common rules. 82 # 83 !include $(ODIN32_POST_INC) 84 85 86 # 87 # Extra rules. 88 # 89 y.tab.c y.tab.h: parser.y 90 $(YACC) -d -t parser.y -o y.tab.c 91 92 lexyy.c: parser.l 93 $(LEX) -8 -d parser.l 94 95 ppy.tab.c ppy.tab.h: ppy.y 96 $(YACC) $(YACCOPT) -bppy -ppp -d -t ppy.y -o ppy.tab.c 97 98 lex.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.