You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/usr/bin/make## Copyright (c) 2003 by Salvador E. Tropea# Covered by the GPL license.## This file contains the definitions that configures the compilation.# They include the C and C++ options and linker options.# I used BC++ 5.5 free command line tools for testing.#
!ifdef DEBUGCDEBUGFLAGS = -v -vi -y -6 -Od!elseCDEBUGFLAGS = -O2 -6 -T -DNDEBUG!endif
!ifdef DYNRTLDYNRTLDFLAGS = -WR!endif
CFLAGS = -w-aus -w-ccc -a8 $(DYNRTLDFLAGS) -WC -X -q $(CDEBUGFLAGS)# Note: rch == Unreachable code. BC++ 5.5 is idiot to detect code that is# disabled on purpose. i.e. if (0) ...CXXFLAGS = -P -RT- -w-hid -w-par -w-rch $(CFLAGS)LDFLAGS = $(DYNRTLDFLAGS) -WC
RHIDE_GCC=bcc32RHIDE_GXX=bcc32RHIDE_LD=bcc32
# Sets the variables for the sub-makesEXTRALIB_MAKE_ARGS=_SUBMAKE=1 CC="$(RHIDE_GCC)" LD="$(RHIDE_LD)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" -f Makefile.bcc
MK_EXT=.bccMKF_EXT=.bmk
|