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


  34 CLOBBERFILES += $(LIBLINKS)
  35 
  36 LIBS =          $(DYNLIB)
  37 
  38 # There should be a mapfile here
  39 MAPFILES =
  40 
  41 LINTFLAGS =     -uxn
  42 LINTFLAGS64 =   $(LINTFLAGS) -m64
  43 LINTOUT=        lint.out
  44 LINTSRC =       $(LINTLIB:%.ln=%)
  45 ROOTLINTDIR =   $(ROOTLIBDIR)
  46 ROOTLINT =      $(LINTSRC:%=$(ROOTLINTDIR)/%)
  47 
  48 CLEANFILES=     $(LINTOUT)
  49 
  50 CPPFLAGS +=     -I.. -D_REENTRANT
  51 CFLAGS +=       $(CCVERBOSE)
  52 
  53 CERRWARN +=     -_gcc=-Wno-switch
  54 CERRWARN +=     -_gcc=-Wno-uninitialized
  55 
  56 $(LINTLIB) :=   LINTFLAGS = -nvx
  57 $(LINTLIB) :=   LINTFLAGS64 = -nvx -m64
  58 
  59 .KEEP_STATE:
  60 
  61 all : $(LIBS)
  62         $(CHMOD) 755 $(DYNLIB)
  63 
  64 lint :
  65         $(LINT.c) $(SRCS)
  66 
  67 # include library targets
  68 include $(SRC)/lib/Makefile.targ
  69 
  70 pics/%.o:       ../%.c
  71         $(COMPILE.c) -o $@ $<
  72         $(POST_PROCESS_O)
  73 
  74 $(ROOTLINTDIR)/%: ../%


  34 CLOBBERFILES += $(LIBLINKS)
  35 
  36 LIBS =          $(DYNLIB)
  37 
  38 # There should be a mapfile here
  39 MAPFILES =
  40 
  41 LINTFLAGS =     -uxn
  42 LINTFLAGS64 =   $(LINTFLAGS) -m64
  43 LINTOUT=        lint.out
  44 LINTSRC =       $(LINTLIB:%.ln=%)
  45 ROOTLINTDIR =   $(ROOTLIBDIR)
  46 ROOTLINT =      $(LINTSRC:%=$(ROOTLINTDIR)/%)
  47 
  48 CLEANFILES=     $(LINTOUT)
  49 
  50 CPPFLAGS +=     -I.. -D_REENTRANT
  51 CFLAGS +=       $(CCVERBOSE)
  52 
  53 CERRWARN +=     -_gcc=-Wno-switch
  54 CERRWARN +=     $(CNOWARN_UNINIT)
  55 
  56 $(LINTLIB) :=   LINTFLAGS = -nvx
  57 $(LINTLIB) :=   LINTFLAGS64 = -nvx -m64
  58 
  59 .KEEP_STATE:
  60 
  61 all : $(LIBS)
  62         $(CHMOD) 755 $(DYNLIB)
  63 
  64 lint :
  65         $(LINT.c) $(SRCS)
  66 
  67 # include library targets
  68 include $(SRC)/lib/Makefile.targ
  69 
  70 pics/%.o:       ../%.c
  71         $(COMPILE.c) -o $@ $<
  72         $(POST_PROCESS_O)
  73 
  74 $(ROOTLINTDIR)/%: ../%