Jamrules 680 B

123456789101112131415161718192021
  1. if ! $(BUILDTOP)
  2. {
  3. BUILDTOP = . ;
  4. }
  5. # Include configuration.
  6. JAMCONFIG ?= $(BUILDTOP)/Jamconfig ;
  7. include $(JAMCONFIG) ;
  8. # Set up compiler flags.
  9. # Unfortunately, we can not use FDefines here since Boost Jam does not have it,
  10. # and we have not yet included mk/jam/build.jam which provides an emulation
  11. # layer for Boost. We can not include build.jam earlier because these flags
  12. # need to be defined before build.jam is included. :-(
  13. COMPILER.CFLAGS += -Wall -Wno-unknown-pragmas ;
  14. COMPILER.CFLAGS.optimize += -O3 -fomit-frame-pointer -ffast-math ;
  15. COMPILER.CFLAGS.debug += -g3 ;
  16. COMPILER.CFLAGS.profile += -gp -O3 ;
  17. # Include CS build rules
  18. include $(TOP)/mk/jam/build.jam ;