|
Last change
on this file since 4384 was 4358, checked in by bird, 25 years ago |
|
Added some limited dump capabilities for PE executables.
|
|
File size:
1.3 KB
|
| Line | |
|---|
| 1 | # $Id: makefile,v 1.6 2000-10-02 04:01:40 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # PD-Win32 API
|
|---|
| 5 | #
|
|---|
| 6 | # Tools common parts
|
|---|
| 7 | #
|
|---|
| 8 | # Usage: nmake ( all | clean | dep |..)
|
|---|
| 9 | #
|
|---|
| 10 | # all: Build the entire src.
|
|---|
| 11 | # clean: Back to a "virgin" state.
|
|---|
| 12 | # dep: Creates the .depend file.
|
|---|
| 13 | # needed: Builds the tools used during compilation of the src tree.
|
|---|
| 14 | # commonicc.lib: Build the IBM VA for C++ version of the library.
|
|---|
| 15 | # commongcc.a: Build the gcc version of the library - aout
|
|---|
| 16 | # commongcc.lib: Build the gcc version of the library - OMF.
|
|---|
| 17 | #
|
|---|
| 18 | #
|
|---|
| 19 |
|
|---|
| 20 | !include ..\..\include\pdwin32.mk
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 | all: commonicc.lib commongcc.a commongcc.lib
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | needed: commonicc.lib
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | commonicc.lib: dummy
|
|---|
| 30 | -@echo $@
|
|---|
| 31 | @$(MAKE_CMD) -f makefile.icc
|
|---|
| 32 |
|
|---|
| 33 | commongcc.a: dummy
|
|---|
| 34 | -@echo $@
|
|---|
| 35 | @$(MAKE_CMD) OMF=0 -f makefile.gcc
|
|---|
| 36 |
|
|---|
| 37 | commongcc.lib: dummy
|
|---|
| 38 | -@echo $@
|
|---|
| 39 | @$(MAKE_CMD) OMF=1 -f makefile.gcc
|
|---|
| 40 |
|
|---|
| 41 | kDump.exe: dummy
|
|---|
| 42 | -@echo $@
|
|---|
| 43 | @$(MAKE_CMD) -f makefile.icc kDump.exe
|
|---|
| 44 |
|
|---|
| 45 |
|
|---|
| 46 | #a simple hack to make nmake process the target.
|
|---|
| 47 | dummy:
|
|---|
| 48 | -@echo ...
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | clean:
|
|---|
| 52 | @$(MAKE_CMD) -f makefile.icc clean
|
|---|
| 53 | @$(MAKE_CMD) OMF=0 -f makefile.gcc clean
|
|---|
| 54 | @$(MAKE_CMD) OMF=1 -f makefile.gcc clean
|
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 | dep:
|
|---|
| 58 | $(DEPEND) -I$(PDWIN32_INCLUDE);$(PDWIN32_INCLUDE)\win \
|
|---|
| 59 | *.h *.asm *.inc $(PDWIN32_INCLUDE)\*.h *.c *.cpp -objo *.c *.cpp -objgobj *.c *.cpp
|
|---|
| 60 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.