1 | # $Id: makefile,v 1.10 2000-03-06 23:38:55 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 | PDWIN32_INCLUDE = ..\..\include
|
---|
12 | PDWIN32_LIB = ..\..\lib
|
---|
13 | PDWIN32_BIN = ..\..\bin
|
---|
14 |
|
---|
15 |
|
---|
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__
|
---|
21 | LDFLAGS = $(LDFLAGS) -Ge+
|
---|
22 |
|
---|
23 | TARGET = pe2lx
|
---|
24 |
|
---|
25 | OBJS = pefile.obj pe.obj lx.obj icon.obj \
|
---|
26 | menu.obj dialog.obj misc.obj \
|
---|
27 | rcdata.obj icongrp.obj \
|
---|
28 | strings.obj bitmap.obj accelerator.obj \
|
---|
29 | cursor.obj cursorgrp.obj
|
---|
30 |
|
---|
31 | all: $(TARGET).exe
|
---|
32 |
|
---|
33 |
|
---|
34 | $(TARGET).exe: $(OBJS)
|
---|
35 | $(LD) $(LDFLAGS) -Fe$@ $(OBJS) \
|
---|
36 | $(PDWIN32_LIB)\LIBCONV.LIB $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
|
---|
37 | $(CP) $(TARGET).exe $(PDWIN32_BIN)
|
---|
38 |
|
---|
39 |
|
---|
40 | accelerator.obj: accelerator.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
|
---|
41 | accelerator.h icon.h misc.h
|
---|
42 | bitmap.obj: bitmap.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
|
---|
43 | bitmap.h icon.h misc.h
|
---|
44 | cursor.obj: cursor.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
|
---|
45 | cursor.h icon.h misc.h
|
---|
46 | cursorgrp.obj: cursorgrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
|
---|
47 | cursor.h cursorgrp.h misc.h
|
---|
48 | dialog.obj: dialog.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
|
---|
49 | 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 \
|
---|
52 | icongrp.h misc.h
|
---|
53 | lx.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 \
|
---|
57 | accelerator.h bitmap.h cursor.h \
|
---|
58 | cursorgrp.h dialog.h icon.h \
|
---|
59 | icongrp.h menu.h misc.h rcdata.h \
|
---|
60 | strings.h
|
---|
61 | pefile.obj: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h misc.h
|
---|
62 | rcdata.obj: rcdata.cpp lx.h rcdata.h
|
---|
63 | strings.obj: strings.cpp lx.h misc.h strings.h
|
---|
64 |
|
---|
65 |
|
---|
66 | clean:
|
---|
67 | $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
|
---|
68 | $(RM) $(PDWIN32_BIN)\$(TARGET).exe
|
---|