source: trunk/src/pe2lx/makefile@ 3669

Last change on this file since 3669 was 3031, checked in by bird, 26 years ago

Makefiles are updated to new style.
Odin32 resource files are renamed to *.orc and most have changed name to avoid
name clashes for object files.

File size: 2.1 KB
Line 
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
11PDWIN32_INCLUDE = ..\..\include
12PDWIN32_LIB = ..\..\lib
13PDWIN32_BIN = ..\..\bin
14
15
16!include $(PDWIN32_INCLUDE)/pdwin32.mk
17
18
19CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
20CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
21LDFLAGS = $(LDFLAGS) -Ge+
22
23TARGET = pe2lx
24
25OBJS = 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
31all: $(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
40accelerator.obj: accelerator.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
41 accelerator.h icon.h misc.h
42bitmap.obj: bitmap.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
43 bitmap.h icon.h misc.h
44cursor.obj: cursor.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
45 cursor.h icon.h misc.h
46cursorgrp.obj: cursorgrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
47 cursor.h cursorgrp.h misc.h
48dialog.obj: dialog.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
49 dialog.h misc.h
50icon.obj: icon.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
51icongrp.obj: icongrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h \
52 icongrp.h misc.h
53lx.obj: lx.cpp lx.h
54menu.obj: menu.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h menu.h
55misc.obj: misc.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
56pe.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
61pefile.obj: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h misc.h
62rcdata.obj: rcdata.cpp lx.h rcdata.h
63strings.obj: strings.cpp lx.h misc.h strings.h
64
65
66clean:
67 $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
68 $(RM) $(PDWIN32_BIN)\$(TARGET).exe
Note: See TracBrowser for help on using the repository browser.