1 # This is the Turbo C++ 2.0 DOS configuration file for DMAKE
2 # It simply modifies the values of SRC, and checks to see if
3 # OSENVIRONMENT is defined. If so it includes the appropriate
6 # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
9 osrdir
:= $(OS
)$(DIRSEPSTR
)$(OSRELEASE
)
11 # The following sources are required for TURBO C++ 2.0
12 OSR_SRC
= tempnam.c utime.c
13 .SETDIR
=$(osrdir
) : $(OSR_SRC
)
18 # Local configuration modifications for CFLAGS. Make sure your turboc.cfg
19 # file contains a -D__STDC__=1 and -DM_I86=1, if not then uncomment the line
21 #CFLAGS += -DM_I86=1 -D__STDC__=1
23 # You can get a smaller executable still, buy adding a -1 to the list of
24 # flags below, but then you can't run this on an 8086/88 cpu.
26 CFLAGS
+= -I
$(osrdir
) -d
-O
-N-
-w-nod
$(C_
$(MODEL
))
27 ASFLAGS
+= -t
-mx
$(S_
$(MODEL
))
29 # Debugging information for Turbo-C
33 # See if we modify anything in the lower levels.
34 .IF
$(OSENVIRONMENT
) != $(NULL
)
35 .INCLUDE .IGNORE
: $(osrdir
)$(DIRSEPSTR
)$(OSENVIRONMENT
)$(DIRSEPSTR
)config.mk