|
Last change
on this file since 8889 was 6136, checked in by bird, 24 years ago |
|
Optimize and no memory debugging in debug mode.
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | # $Id: makefile,v 1.11 2001-06-28 22:01:55 bird Exp $
|
|---|
| 2 |
|
|---|
| 3 | #
|
|---|
| 4 | # Odin32 API
|
|---|
| 5 | #
|
|---|
| 6 | # Makefile for the Quick-and-Dirty dependency utility. (FastDep)
|
|---|
| 7 | #
|
|---|
| 8 | #
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | #
|
|---|
| 12 | # Directory macro.
|
|---|
| 13 | #
|
|---|
| 14 | ODIN32_BIN = $(ODIN32_TOOLS)
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 | #
|
|---|
| 18 | # Tell buildenvironment that we're making an VIO .exe.
|
|---|
| 19 | # Tell buildenvironment that we like to use static linked CRT.
|
|---|
| 20 | # Tell buildenvironment that we should not copy this into /bin.
|
|---|
| 21 | #
|
|---|
| 22 | EXETARGET = 1
|
|---|
| 23 | VIO = 1
|
|---|
| 24 | STATIC_CRT = 1
|
|---|
| 25 | NO_MAIN_BIN_COPY = 1
|
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 | #
|
|---|
| 29 | # include common definitions
|
|---|
| 30 | #
|
|---|
| 31 | !include ../../makefile.inc
|
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 | #
|
|---|
| 35 | # Addjust common definitions
|
|---|
| 36 | #
|
|---|
| 37 | !if "$(VAC3)" == "1" || "$(VAC36)" == "1"
|
|---|
| 38 | CFLAGS = $(CFLAGS) -W3 -Wall+ppt-ppc-inl-cnv-gnr-vft-gen-uni-ext- \
|
|---|
| 39 | !ifdef DEBUG
|
|---|
| 40 | -O+ -Tm-
|
|---|
| 41 | !endif
|
|---|
| 42 | !endif
|
|---|
| 43 |
|
|---|
| 44 |
|
|---|
| 45 | #
|
|---|
| 46 | # Object files. Prefix with OBJDIR and one space before the '\'.
|
|---|
| 47 | #
|
|---|
| 48 | OBJS = \
|
|---|
| 49 | $(OBJDIR)\fastdep.obj \
|
|---|
| 50 | $(OBJDIR)\avl.obj
|
|---|
| 51 |
|
|---|
| 52 |
|
|---|
| 53 | #
|
|---|
| 54 | # Libraries. One space before the '\'.
|
|---|
| 55 | #
|
|---|
| 56 | LIBS = \
|
|---|
| 57 | $(RTLLIB) \
|
|---|
| 58 | os2386.lib
|
|---|
| 59 |
|
|---|
| 60 |
|
|---|
| 61 | #
|
|---|
| 62 | # Target name - name of the exe without extention and path.
|
|---|
| 63 | #
|
|---|
| 64 | TARGET = FastDep
|
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 | #
|
|---|
| 68 | # Includes the common rules.
|
|---|
| 69 | #
|
|---|
| 70 | !include $(ODIN32_POST_INC)
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 | #
|
|---|
| 74 | # We need all.
|
|---|
| 75 | #
|
|---|
| 76 | needed: all
|
|---|
| 77 |
|
|---|
| 78 |
|
|---|
| 79 | #
|
|---|
| 80 | # NT version using Watcom C/C++.
|
|---|
| 81 | #
|
|---|
| 82 | fastdepnt.exe:
|
|---|
| 83 | wcl386 -bt=nt -l=nt -d2 /hc /"option map" -DOS2FAKE=1 -I$(WATCOM)\h\nt fastdep.c avl.c os2fake-win.c /Fe=$@ kernel32.lib
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.