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 |
|
---|
11 | OLD_STYLE=1
|
---|
12 | !include ../../makefile.inc
|
---|
13 |
|
---|
14 |
|
---|
15 | CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
|
---|
16 | CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(ODIN32_INCLUDE) /D__PE2LX__
|
---|
17 | LDFLAGS = $(LDFLAGS) -Ge+
|
---|
18 |
|
---|
19 | TARGET = pe2lx
|
---|
20 |
|
---|
21 | OBJS = 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 |
|
---|
27 | all: $(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 |
|
---|
36 | accelerator.obj: accelerator.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
|
---|
37 | accelerator.h icon.h misc.h
|
---|
38 | bitmap.obj: bitmap.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
|
---|
39 | bitmap.h icon.h misc.h
|
---|
40 | cursor.obj: cursor.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
|
---|
41 | cursor.h icon.h misc.h
|
---|
42 | cursorgrp.obj: cursorgrp.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
|
---|
43 | cursor.h cursorgrp.h misc.h
|
---|
44 | dialog.obj: dialog.cpp $(ODIN32_INCLUDE)\pefile.h lx.h \
|
---|
45 | dialog.h misc.h
|
---|
46 | icon.obj: icon.cpp $(ODIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
|
---|
47 | icongrp.obj: icongrp.cpp $(ODIN32_INCLUDE)\pefile.h lx.h icon.h \
|
---|
48 | icongrp.h misc.h
|
---|
49 | lx.obj: lx.cpp lx.h
|
---|
50 | menu.obj: menu.cpp $(ODIN32_INCLUDE)\pefile.h lx.h menu.h
|
---|
51 | misc.obj: misc.cpp $(ODIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
|
---|
52 | pe.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
|
---|
57 | pefile.obj: pefile.cpp $(ODIN32_INCLUDE)\pefile.h misc.h
|
---|
58 | rcdata.obj: rcdata.cpp lx.h rcdata.h
|
---|
59 | strings.obj: strings.cpp lx.h misc.h strings.h
|
---|
60 |
|
---|
61 |
|
---|
62 | clean:
|
---|
63 | $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
|
---|
64 | $(RM) $(ODIN32_BIN)\$(TARGET).exe
|
---|