home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-05-06 | 1.4 KB | 51 lines |
- # This is the Turbo C++ 2.0 DOS configuration file for DMAKE
- # It simply modifies the values of SRC, and checks to see if
- # OSENVIRONMENT is defined. If so it includes the appropriate
- # config.mk file.
- #
- # It also sets the values of .SOURCE.c and .SOURCE.h to include the local
- # directory.
- #
- osrdir := $(OS)$(DIRSEPSTR)$(OSRELEASE)
-
- # Definition of macros for library, and C startup code.
- LDLIBS = d:/cc/bcc/lib/c$(MODEL)
- CSTARTUP = d:/cc/bcc/lib/c0$(MODEL).obj
-
- # The following sources are required for TURBO C++ 2.0
- OSR_SRC = tempnam.c utime.c
- .SETDIR=$(osrdir) : $(OSR_SRC)
-
- SRC += $(OSR_SRC)
- .SOURCE.h : $(osrdir)
-
- # Local configuration modifications for CFLAGS. Make sure your turboc.cfg
- # file contains a -D__STDC__=1 and -DM_I86=1, if not then uncomment the line
- # below!
- #CFLAGS += -DM_I86=1 -D__STDC__=1
-
- # You can get a smaller executable still, buy adding a -1 to the list of
- # flags below, but then you can't run this on an 8086/88 cpu.
- #CFLAGS += -1
- CFLAGS += -I$(osrdir) -d -O -N- -w-nod $(C_$(MODEL))
- ASFLAGS += -t -mx $(S_$(MODEL))
-
- # Debugging information for Turbo-C
- DB_CFLAGS += -v
- DB_LDFLAGS += /v
-
- # See if we modify anything in the lower levels.
- .IF $(OSENVIRONMENT) != $(NULL)
- .INCLUDE .IGNORE : $(osrdir)$(DIRSEPSTR)$(OSENVIRONMENT)$(DIRSEPSTR)config.mk
- .END
-
- C_s =
- C_m = -mm
- C_c = -mc
- C_l = -ml
-
- S_s = -dmsmall
- S_m = -dmmedium
- S_c = -dmcompact
- S_l = -dmlarge
-