Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


  46 #       Include common rules.
  47 #
  48 include ../Makefile.$(ARCHDIR)
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Overrides and depends_on
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 LDFLAGS         += -dy -Ndrv/stmf
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 CERRWARN        += -_gcc=-Wno-switch
  66 CERRWARN        += -_gcc=-Wno-uninitialized
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)
  84 
  85 clean.lint:     $(CLEAN_LINT_DEPS)
  86 


  46 #       Include common rules.
  47 #
  48 include ../Makefile.$(ARCHDIR)
  49 
  50 #
  51 #       Define targets
  52 #
  53 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Overrides and depends_on
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 LDFLAGS         += -dy -Ndrv/stmf
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 CERRWARN        += -_gcc=-Wno-switch
  66 CERRWARN        += $(CNOWARN_UNINIT)
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)
  84 
  85 clean.lint:     $(CLEAN_LINT_DEPS)
  86