diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-21 12:05:50 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-21 12:05:50 +0200 |
commit | caae98284820a7ce9cf47868ba621f613e611e1e (patch) | |
tree | c12005416c5edf831ff2d6e77598ec791df069e0 /crawl-ref/source/makefile | |
parent | b3b5d901b07ae16b3c1397c6e8710239516be68e (diff) | |
download | crawl-ref-caae98284820a7ce9cf47868ba621f613e611e1e.tar.gz crawl-ref-caae98284820a7ce9cf47868ba621f613e611e1e.zip |
Fix non-fastdep depend target.
The call to g++ was failing for files that included library headers,
since the library -Is weren't passed.
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r-- | crawl-ref/source/makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index bc0251721a..b44c4791a0 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -568,7 +568,7 @@ depend: $(OBJECTS:.o=.cc) rm -f $(DEPENDENCY_MKF).tmp @for i in $^; do \ echo ' ' DEP $$i; \ - $(CXX) -MM $(CFLAGS) $$i >>$(DEPENDENCY_MKF).tmp 2>/dev/null; \ + $(CXX) -MM $(CFLAGS) $(CFLAGS_L) $$i >>$(DEPENDENCY_MKF).tmp 2>/dev/null; \ done mv -f $(DEPENDENCY_MKF).tmp $(DEPENDENCY_MKF) else |