source: trunk/src/pe2lx/makefile@ 4

Last change on this file since 4 was 4, checked in by ktk, 27 years ago

Import

File size: 1.9 KB
Line 
1# $Id: makefile,v 1.1 1999-05-24 20:19:55 ktk 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 $(CP) $(TARGET).exe $(PDWIN32_BIN)
35
36
37accelerator.obj: accelerator.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
38 accelerator.h icon.h misc.h
39bitmap.obj: bitmap.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
40 bitmap.h icon.h misc.h
41cursor.obj: cursor.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
42 cursor.h icon.h misc.h
43cursorgrp.obj: cursorgrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
44 cursor.h cursorgrp.h misc.h
45dialog.obj: dialog.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
46 dialog.h misc.h
47icon.obj: icon.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h misc.h
48icongrp.obj: icongrp.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h icon.h \
49 icongrp.h misc.h
50lx.obj: lx.cpp lx.h
51menu.obj: menu.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h menu.h
52misc.obj: misc.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h ..\..\include\versionos2.h
53pe.obj: pe.cpp $(PDWIN32_INCLUDE)\pefile.h lx.h \
54 accelerator.h bitmap.h cursor.h \
55 cursorgrp.h dialog.h icon.h \
56 icongrp.h menu.h misc.h rcdata.h \
57 strings.h
58pefile.obj: pefile.cpp $(PDWIN32_INCLUDE)\pefile.h misc.h
59rcdata.obj: rcdata.cpp lx.h rcdata.h
60strings.obj: strings.cpp lx.h misc.h strings.h
61
62
63clean:
64 $(RM) *.obj *.lib *.dll *~ *.map *.pch *.exe
65 $(RM) $(PDWIN32_BIN)\$(TARGET).exe
Note: See TracBrowser for help on using the repository browser.