[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gnuplot/gnuplot/master/config/makefile.wc [Back]  [Original]

#
# GNUPLOT Makefile for OpenWatcom C
#
# Modified from the TurboC makefile by Aurel Gabris
# Heavily modified and updated for OpenWatcom 1.2 by HBB
#
# The makefile does no longer depend on a linker options file.
# It will be created as needed.                          (AL 07/17/92)

# where to place gnuplot.gih helpfile
HELPFILE = gnuplot.gih

# names of C compiler & tools
CC = wcc386
CL = wcl386
LINK = wlink

# Does not seem to work here. Re-enable by removing "NO" below
!ifdef NO__LOADDLL__
!  loaddll wcc      wccd
!  loaddll wccaxp   wccdaxp
!  loaddll wcc386   wccd386
!  loaddll wpp      wppdi86
!  loaddll wppaxp   wppdaxp
!  loaddll wpp386   wppd386
!  loaddll wlink    wlink
!  loaddll wlib     wlibd
!endif

# the memory model to use (f = flat)
MODEL = f

# definitions used by makefile.all (and elsewhere)
T=..\term\
D=..\docs\
O=obj
M=..\demo\

!include makefile.awc

# -DHAVE_CONFIG_H: do the configuration #defines the (now) usual way
CPPFLAGS=-DHAVE_CONFIG_H -DMSDOS -D__DOS__
# was: -UMSDOS -DDOS386 -DDOS32

# -w0 means ignore warnings and do not report them
# -d1{+} means include line numbers for debugger
# -d2 means full symbolic debug info
# -fpi means inline 80x87 instructions with emulation
# -fpi87 means inline 80x87 instructions
# -zq avoids all the version banners being printed
# -zm puts each function in a separate section to allow dead code elimination
# -o{x} controls optimization
#      a           -> relax aliasing constraints
#      f           -> generate traceable stack frames as needed
#           The selection of the optimization flags include some wizardry.
#           Thus omitting any flags from the above two, may result in run-time
#           errors.
#      m           -> generate inline 80x87 code for math functions
#      d           -> disable all optimizations (Watch out!)
# option {stack=n} sets stack size to n
CFLAGS = -zq -m$(MODEL) -d2 -zm -omaf -fpi -fp3 -I. -bt=dos4g $(CPPFLAGS)
DOC2XXX_FLAGS = -I$(D) -I$(T) $(CFLAGS) 
TERMFLAGS =

OBJS = $(COREOBJS) version.$(O)

BINFILES = $(M)binary1 $(M)binary2 $(M)binary3

all: gnuplot.exe $(HELPFILE) $(BINFILES) .SYMBOLIC
	@%null

# use linkopt.wc to avoid command-line overflow

gnuplot.exe: config.h $(OBJS) .PRECIOUS
        $(LINK) @

Web Proxy Viewer  |  New URL  |  Original Page