source: trunk/src/pe2lx/makefile@ 10366

Last change on this file since 10366 was 4719, checked in by bird, 25 years ago

New makefile style. (addjustments)

File size: 2.0 KB
Line 
1# $Id: makefile,v 1.11 2000-12-02 23:58:01 bird Exp $
2
3#
4# Odin32 API
5#
6# pe2lx.exe makefile
7#
8# WARNING: This is the old PE2LX. The new Pe2Lx is found in src\win32k\pe2lx.
9#
10
11OLD_STYLE=1
12!include ../../makefile.inc
13
14
15CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
16CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
17LDFLAGS = $(LDFLAGS) -Ge+
18
19TARGET = pe2lx
20
21OBJS = pefile.obj pe.obj lx.obj icon.obj \
22 menu.obj dialog.obj misc.obj \
23 rcdata.obj icongrp.obj \
24 strings.obj bitmap.obj accelerator.obj \
25 cursor.obj cursorgrp.obj
26
27all: $(TARGET).exe
28
29
30$(TARGET).exe: $(OBJS)
31 $(LD) $(LDFLAGS) -Fe$@ $(OBJS) \
32 $(ODIN32_LIB)\LIBCONV.LIB $(ODIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
33 $(CP) $(TARGET).exe $(ODIN32_BIN)
34
35
36accelerator.obj: accelerator.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
37 accelerator.h icon.h misc.h
38bitmap.obj: bitmap.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
39 bitmap.h icon.h misc.h
40cursor.obj: cursor.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
41 cursor.h icon.h misc.h
42cursorgrp.obj: cursorgrp.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
43 cursor.h cursorgrp.h misc.h
44dialog.obj: dialog.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
45 dialog.h misc.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 \
48 icongrp.h misc.h
49lx.obj: lx.cpp 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 \
53 accelerator.h bitmap.h cursor.h \
54 cursorgrp.h dialog.h icon.h \
55 icongrp.h menu.h misc.h rcdata.h \
56 strings.h
57pefile.obj: pefile.cpp $(ODIN32_INCLUDE)\pefile.h misc.h
58rcdata.obj: rcdata.cpp lx.h rcdata.h
59strings.obj: strings.cpp lx.h misc.h strings.h
60
61
62clean:
63 $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
64 $(RM) $(ODIN32_BIN)\$(TARGET).exe
Note: See TracBrowser for help on using the repository browser.