diff options
| author | Ryan Anderson <ryan@michonline.com> | 2003-05-27 08:57:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:00:45 -0700 |
| commit | a2a8b9030ee009e83219c3ba783a8108cfca7b28 (patch) | |
| tree | 862676a3a04c8bc871d52eecc72074c7ab522100 /Makefile | |
| parent | bb5b108c342b889b404577badc907f7b84842e5d (diff) | |
| download | sparse-dev-a2a8b9030ee009e83219c3ba783a8108cfca7b28.tar.gz | |
[PATCH] Get gcc internal header files path from gcc itself
This update (hopefully) will allow 'check' to find the appropriate, gcc-local
include headers (dependent, of course, upon the system it was built on)
It's still a hack, but at least it will work in a few more places.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -32,7 +32,7 @@ evaluate.o: $(LIB_H) expression.o: $(LIB_H) lib.o: $(LIB_H) parse.o: $(LIB_H) -pre-process.o: $(LIB_H) +pre-process.o: $(LIB_H) pre-process.h scope.o: $(LIB_H) show-parse.o: $(LIB_H) symbol.o: $(LIB_H) @@ -40,5 +40,8 @@ test-lexing.o: $(LIB_H) test-parsing.o: $(LIB_H) tokenize.o: $(LIB_H) +pre-process.h: + echo "#define GCC_INTERNAL_INCLUDE \"`gcc -print-file-name=include`\"" > pre-process.h + clean: - rm -f *.[oasi] core core.[0-9]* $(PROGRAMS) + rm -f *.[oasi] core core.[0-9]* $(PROGRAMS) pre-process.h |
