find include files
This commit is contained in:
parent
abefb1f107
commit
40773f7f3f
|
@ -29,7 +29,7 @@ RANLIB = ranlib
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = clq
|
AR_FLAGS = clq
|
||||||
INCDIR = $(srcdir)/../include
|
INCDIR = $(srcdir)/../include
|
||||||
CSEARCH = -I. -I$(INCDIR)
|
CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
|
||||||
DEP = mkdep
|
DEP = mkdep
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ OBJDUMP_PROG=objdump
|
||||||
PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
|
PROGS = $(SIZE_PROG) $(COPY_PROG) $(OBJDUMP_PROG) $(NM_PROG) $(AR_PROG) $(STRIP_PROG) $(RANLIB_PROG)
|
||||||
STAGESTUFF = $(PROGS) *.o
|
STAGESTUFF = $(PROGS) *.o
|
||||||
|
|
||||||
BASEDIR = $(unsubdir)/..
|
BASEDIR = $(srcdir)/..
|
||||||
LIBDIR = $(unsubdir)/../bfd$(subdir)
|
LIBDIR = $(unsubdir)/../bfd$(subdir)
|
||||||
|
|
||||||
#### host and target dependant Makefile fragments come in here.
|
#### host and target dependant Makefile fragments come in here.
|
||||||
|
@ -63,7 +63,7 @@ LIBDIR = $(unsubdir)/../bfd$(subdir)
|
||||||
|
|
||||||
INCDIR = $(BASEDIR)/include
|
INCDIR = $(BASEDIR)/include
|
||||||
|
|
||||||
CFLAGS = -g -I. -I$(INCDIR) $(HDEFINES) $(TDEFINES)
|
CFLAGS = -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.
|
||||||
|
|
Loading…
Reference in New Issue