source: trunk/src/peldr/makefile@ 2912

Last change on this file since 2912 was 2712, checked in by bird, 26 years ago

Dependencies (again).

File size: 907 bytes
Line 
1# $Id: makefile,v 1.14 2000-02-09 23:47:01 bird Exp $
2
3#
4# PD-Win32 API
5#
6# pe.exe makefile
7#
8
9PDWIN32_INCLUDE = ..\..\include
10PDWIN32_LIB = ..\..\lib
11PDWIN32_BIN = ..\..\bin
12PDWIN32_TOOLS = ..\..\tools\bin
13
14!include $(PDWIN32_INCLUDE)/pdwin32.mk
15
16CFLAGS = $(CFLAGS) /Ge+ -I$(PDWIN32_INCLUDE) -Gn-
17CXXFLAGS = $(CXXFLAGS) /Ge+ -I$(PDWIN32_INCLUDE) -Gn-
18LDFLAGS = $(LDFLAGS_ODINCRT) /Ge+ /B"/pmtype:pm /stack:0x100000 /NOBASE /Map" \
19 os2386.lib
20
21
22TARGET = pe
23
24OBJS = pe.obj
25
26all: $(TARGET).exe
27
28
29$(TARGET).exe: $(OBJS) makefile
30 $(LD) $(LDFLAGS) -Fe$@ $(OBJS)
31 $(CP) $(TARGET).exe $(PDWIN32_BIN)
32 $(CP) $@ $(PDWIN32_BIN)
33
34
35dep:
36 $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
37 *.c *.cpp *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h
38
39!ifndef NODEP
40!include .depend
41!endif
42
43
44clean:
45 $(RM) *.obj *.lib *.dll *.map *.pch *.exe \
46 $(PDWIN32_BIN)\$(TARGET).exe
47
Note: See TracBrowser for help on using the repository browser.