Added the $(MINUS_G) flag so that debugging can be turned off

This commit is contained in:
Steve Chamberlain 1991-11-11 17:51:21 +00:00
parent fb6604097b
commit f79edb02ab

View file

@ -65,12 +65,13 @@ STAGESTUFF = $(PROGS) *.o
BASEDIR = $(srcdir)/.. BASEDIR = $(srcdir)/..
LIBDIR = $(unsubdir)/../bfd$(subdir) LIBDIR = $(unsubdir)/../bfd$(subdir)
MINUS_G = -g
#### host and target dependant Makefile fragments come in here. #### host and target dependant Makefile fragments come in here.
### ###
INCDIR = $(BASEDIR)/include INCDIR = $(BASEDIR)/include
CFLAGS = -g -I. -I$(srcdir) -I$(INCDIR) $(HDEFINES) $(TDEFINES) CFLAGS = $(MINUS_G) -I. -I$(srcdir) -I$(INCDIR) $(HDEFINES) $(TDEFINES)
# When adding .o files, to make VPATH work in Sun Make, you have to # When adding .o files, to make VPATH work in Sun Make, you have to
# also add a foo.o: foo.c line at the bottom of the file. # also add a foo.o: foo.c line at the bottom of the file.