source: trunk/src/pe2lx/makefile@ 1036

Last change on this file since 1036 was 604, checked in by sandervl, 26 years ago

Makefile changes for VAC 3.6.5

File size: 2.0 KB
Line 
1# $Id: makefile,v 1.9 1999-08-21 12:29:30 sandervl Exp $
2
3#
4# PD-Win32 API
5#
6# pe2lx.exe makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12
13
14!include $(PDWIN32_INCLUDE)/pdwin32.mk
15
16
17CFLAGS = $(CFLAGS) /Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
18CXXFLAGS = $(CXXFLAGS) -Ge+ /Tm+ /I$(PDWIN32_INCLUDE) /D__PE2LX__
19LDFLAGS = $(LDFLAGS) -Ge+
20
21TARGET = pe2lx
22
23OBJS = pefile.obj pe.obj lx.obj icon.obj \
24 menu.obj dialog.obj misc.obj \
25 rcdata.obj icongrp.obj \
26 strings.obj bitmap.obj accelerator.obj \
27 cursor.obj cursorgrp.obj
28
29all: $(TARGET).exe
30
31
32$(TARGET).exe: $(OBJS)
33 $(LD) $(LDFLAGS) -Fe$@ $(OBJS) \
34 $(PDWIN32_LIB)\LIBCONV.LIB $(PDWIN32_LIB)/odincrt.lib OS2386.LIB $(RTLLIB_O)
35 $(CP) $(TARGET).exe $(PDWIN32_BIN)
36
37
38accelerator.obj: accelerator.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
39 accelerator.h icon.h misc.h
40bitmap.obj: bitmap.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
41 bitmap.h icon.h misc.h
42cursor.obj: cursor.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
43 cursor.h icon.h misc.h
44cursorgrp.obj: cursorgrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
45 cursor.h cursorgrp.h misc.h
46dialog.obj: dialog.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
47 dialog.h misc.h
48icon.obj: icon.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
49icongrp.obj: icongrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h \
50 icongrp.h misc.h
51lx.obj: lx.cpp lx.h
52menu.obj: menu.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h menu.h
53misc.obj: misc.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
54pe.obj: pe.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
55 accelerator.h bitmap.h cursor.h \
56 cursorgrp.h dialog.h icon.h \
57 icongrp.h menu.h misc.h rcdata.h \
58 strings.h
59pefile.obj: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h misc.h
60rcdata.obj: rcdata.cpp lx.h rcdata.h
61strings.obj: strings.cpp lx.h misc.h strings.h
62
63
64clean:
65 $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
66 $(RM) $(PDWIN32_BIN)\$(TARGET).exe
Note: See TracBrowser for help on using the repository browser.