Changeset 4719 for trunk/src/pe2lx


Ignore:
Timestamp:
Dec 3, 2000, 12:59:51 AM (25 years ago)
Author:
bird
Message:

New makefile style. (addjustments)

Location:
trunk/src/pe2lx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/pe2lx/makefile

    r3031 r4719  
    1 # $Id: makefile,v 1.10 2000-03-06 23:38:55 bird Exp $
     1# $Id: makefile,v 1.11 2000-12-02 23:58:01 bird Exp $
    22
    33#
     
    99#
    1010
    11 PDWIN32_INCLUDE = ..\..\include
    12 PDWIN32_LIB = ..\..\lib
    13 PDWIN32_BIN = ..\..\bin
     11OLD_STYLE=1
     12!include ../../makefile.inc
    1413
    1514
    16 !include $(PDWIN32_INCLUDE)/pdwin32.mk
    17 
    18 
    19 CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
    20 CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
     15CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
     16CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
    2117LDFLAGS = $(LDFLAGS) -Ge+
    2218
     
    3430$(TARGET).exe: $(OBJS)
    3531        $(LD) $(LDFLAGS) -Fe$@ $(OBJS) \
    36         $(PDWIN32_LIB)\LIBCONV.LIB $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
    37         $(CP) $(TARGET).exe $(PDWIN32_BIN)
     32        $(ODIN32_LIB)\LIBCONV.LIB $(ODIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
     33        $(CP) $(TARGET).exe $(ODIN32_BIN)
    3834
    3935
    40 accelerator.obj: accelerator.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
     36accelerator.obj: accelerator.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
    4137                 accelerator.h  icon.h misc.h
    42 bitmap.obj: bitmap.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
     38bitmap.obj: bitmap.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
    4339            bitmap.h icon.h misc.h
    44 cursor.obj: cursor.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
     40cursor.obj: cursor.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
    4541            cursor.h icon.h misc.h
    46 cursorgrp.obj: cursorgrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h  \
     42cursorgrp.obj: cursorgrp.cpp $(ODIN32_INCLUDE)\pefile.h lx.h  \
    4743               cursor.h cursorgrp.h misc.h
    48 dialog.obj: dialog.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
     44dialog.obj: dialog.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
    4945            dialog.h misc.h
    50 icon.obj: icon.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
    51 icongrp.obj: icongrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h \
     46icon.obj: icon.cpp $(ODIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
     47icongrp.obj: icongrp.cpp $(ODIN32_INCLUDE)\pefile.h lx.h icon.h \
    5248             icongrp.h misc.h
    5349lx.obj: lx.cpp lx.h
    54 menu.obj: menu.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h menu.h
    55 misc.obj: misc.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
    56 pe.obj: pe.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
     50menu.obj: menu.cpp $(ODIN32_INCLUDE)\pefile.h lx.h menu.h
     51misc.obj: misc.cpp $(ODIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
     52pe.obj: pe.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
    5753        accelerator.h bitmap.h cursor.h \
    5854        cursorgrp.h dialog.h icon.h \
    5955        icongrp.h menu.h misc.h rcdata.h \
    6056        strings.h
    61 pefile.obj: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h misc.h
     57pefile.obj: pefile.cpp $(ODIN32_INCLUDE)\pefile.h misc.h
    6258rcdata.obj: rcdata.cpp lx.h rcdata.h
    6359strings.obj: strings.cpp lx.h misc.h strings.h
     
    6662clean:
    6763        $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
    68         $(RM) $(PDWIN32_BIN)\$(TARGET).exe
     64        $(RM) $(ODIN32_BIN)\$(TARGET).exe
  • trunk/src/pe2lx/makefile.wat

    r272 r4719  
    1 # $Id: makefile.wat,v 1.3 1999-07-05 12:36:12 sandervl Exp $
     1# $Id: makefile.wat,v 1.4 2000-12-02 23:58:01 bird Exp $
    22
    33#===================================================================
     
    66#
    77#===================================================================
    8 PDWIN32_INCLUDE = ..\..\include
    9 PDWIN32_LIB = ..\..\lib
    10 PDWIN32_BIN = ..\..\bin
     8ODIN32_INCLUDE = ..\..\include
     9ODIN32_LIB = ..\..\lib
     10ODIN32_BIN = ..\..\bin
    1111INC     = $(%WATCOM)\h;f:\toolkit\h;.;..\..\include;..\..\include\win
    1212DEF     =
     
    6262FILE5   = accelerator.obj
    6363FILE6   = cursor.obj cursorgrp.obj
    64 FILE7   = $(PDWIN32_LIB)\LIBCONV.LIB
     64FILE7   = $(ODIN32_LIB)\LIBCONV.LIB
    6565FILE8   =
    6666FILE9   =
Note: See TracChangeset for help on using the changeset viewer.