diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-19 13:18:22 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-19 13:19:55 -0700 |
commit | 272242196ea118997e330f4f578171e3ec8df2aa (patch) | |
tree | d3862a71f5dfb867eb3648c1baba559524e97bd7 | |
parent | d8171e3eabbd29dc7b50884f975390d72bd4cdd5 (diff) | |
download | crawl-ref-272242196ea118997e330f4f578171e3ec8df2aa.tar.gz crawl-ref-272242196ea118997e330f4f578171e3ec8df2aa.zip |
makefile: fix doublequote escaping for compflag.h
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
-rw-r--r-- | crawl-ref/source/makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile index fdb009b1fb..31895d9add 100644 --- a/crawl-ref/source/makefile +++ b/crawl-ref/source/makefile @@ -578,10 +578,10 @@ depend: $(OBJECTS:.o=.cc) else depend: $(DEPENDENCY_MKF) -makefile.dep: .contrib-ok +makefile.dep: .contrib-ok build.h compflag.h %.dep: $(OBJECTS:.o=.cc) - $(QUIET_DEPEND)fastdep $(DEFINES) $(INCLUDES) *.h $(OBJECTS:.o=.cc) > $@ + $(QUIET_DEPEND)fastdep $(DEFINES) $(INCLUDES) $(OBJECTS:.o=.cc) > $@ endif ifneq ($(MAKECMDGOALS),clean) @@ -689,13 +689,13 @@ compflag.h: @echo "#ifndef __included_crawl_compiler_flags_h" >> compflag.h @echo "#define __included_crawl_compiler_flags_h" >> compflag.h @echo -n "#define CRAWL_CFLAGS \"" >> compflag.h - @echo -n $(CFLAGS) | sed s/\"/\\\"/g >> compflag.h + @echo -n $(CFLAGS) | sed 's/\"/\\"/g' >> compflag.h @echo "\"" >> compflag.h @echo -n "#define CRAWL_CFLAGS_L \"" >> compflag.h - @echo -n $(CFLAGS_L) | sed s/\"/\\\"/g >> compflag.h + @echo -n $(CFLAGS_L) | sed 's/\"/\\"/g' >> compflag.h @echo "\"" >> compflag.h @echo -n "#define CRAWL_LDFLAGS \"" >> compflag.h - @echo -n $(LDFLAGS) | sed s/\"/\\\"/g >> compflag.h + @echo -n $(LDFLAGS) | sed 's/\"/\\"/g' >> compflag.h @echo "\"" >> compflag.h @echo "#endif" >> compflag.h |