| Line | |
|---|
| 1 | # $Id: makefile,v 1.2 1999-09-22 09:46:52 sandervl Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # PD-Win32 API
|
|---|
| 5 | #
|
|---|
| 6 | # Makefile for the ImpDef utility.
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | # include common definitions
|
|---|
| 12 | PDWIN32_INCLUDE = ..\..\include
|
|---|
| 13 | !include $(PDWIN32_INCLUDE)\pdwin32.mk
|
|---|
| 14 |
|
|---|
| 15 | # Addjust common definitions
|
|---|
| 16 | !ifdef DEBUG
|
|---|
| 17 | CFLAGS = $(CFLAGS) -Ge+ -Tx+ -I$(PDWIN32_INCLUDE) -I..\common \
|
|---|
| 18 | -Wall+ppt-ppc-inl-cnv-gnr-vft-
|
|---|
| 19 | CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -I$(PDWIN32_INCLUDE) -I..\common \
|
|---|
| 20 | -Wall+ppt-ppc-inl-cnv-gnr-vft-
|
|---|
| 21 | LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full"
|
|---|
| 22 | !else
|
|---|
| 23 | CFLAGS = $(CFLAGS) -Ge+ -Tx+ -I$(PDWIN32_INCLUDE) -I..\common \
|
|---|
| 24 | -Wall+ppt-ppc-inl-cnv-gnr-vft-
|
|---|
| 25 | CXXFLAGS = $(CXXFLAGS) -Ge+ -Gx- -Tx+ -I$(PDWIN32_INCLUDE) -I..\common \
|
|---|
| 26 | -Wall+ppt-ppc-inl-cnv-gnr-vft-
|
|---|
| 27 | LDFLAGS = $(LDFLAGS) -Ge+ -Fe$@ /B"/MAP:full"
|
|---|
| 28 | !endif
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | all: ImpDef.exe ..\bin\ImpDef.exe
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | ImpDef.exe: ImpDef.obj ..\common\commonicc.lib
|
|---|
| 36 | $(LD) $(LDFLAGS) $** $(RTLLIB) os2386.lib
|
|---|
| 37 |
|
|---|
| 38 | ..\bin\ImpDef.exe: ImpDef.exe
|
|---|
| 39 | $(CP) $** $@
|
|---|
| 40 |
|
|---|
| 41 | ..\common\commonicc.lib:
|
|---|
| 42 | @cd ..\common
|
|---|
| 43 | @nmake /nologo commonicc.lib
|
|---|
| 44 | @cd ..\impdef
|
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 | clean:
|
|---|
| 48 | -@$(RM) *.obj
|
|---|
| 49 | -@$(RM) *.exe
|
|---|
| 50 | -@$(RM) *.map
|
|---|
| 51 | -@$(RM) *.pch
|
|---|
| 52 | -@$(RM) *.log
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | # Dependencies
|
|---|
| 56 | ImpDef.obj: ImpDef.cpp ImpDef.h ..\common\kFileFormatBase.h \
|
|---|
| 57 | ..\common\kFileDef.h
|
|---|
| 58 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.