diff --git a/2014/endoh1/Rakefile b/2014/endoh1/Rakefile index c6c696918..6ac5c813f 100644 --- a/2014/endoh1/Rakefile +++ b/2014/endoh1/Rakefile @@ -27,7 +27,7 @@ file "prog.c" => ["main.c", "gen-prog.rb", "prog-tmpl.c"] do |t| end file "prog" => "prog.c" do |t| - sh "gcc", "-Wall", "-W", "-Wextra", "-o", t.name, t.prerequisites[0], "-g" + sh "gcc", "-Wall", "-W", "-Wextra", "-Wno-misleading-indentation", "-o", t.name, t.prerequisites[0] end task :test => :default do diff --git a/2014/endoh1/try.sh b/2014/endoh1/try.sh index 21070dc85..220a8af98 100755 --- a/2014/endoh1/try.sh +++ b/2014/endoh1/try.sh @@ -50,5 +50,6 @@ echo 1>&2 read -r -p "Do you want to run make rake (Y/N)? " if [[ "$REPLY" == "y" || "$REPLY" == "Y" ]]; then + make clobber make rake 2>/dev/null fi diff --git a/thanks-for-help.html b/thanks-for-help.html index 6a8e2b78b..8304c8353 100644 --- a/thanks-for-help.html +++ b/thanks-for-help.html @@ -3886,6 +3886,9 @@ run it.
After more work on the manifest was done Cody had to update the clobber rule
to remove some text files so as to not cause problems with an invalid manifest.
Cody also added the try.sh script.
+To silence the annoying misleading indentation warning and to prevent debug
+symbols from being built with rake Cody also updated the
+Rakefile slightly.
Barely worth noting but done nonetheless, Cody renamed the read_me.html
file to spoilers.html to be clearer in its purpose as
it is a file with spoilers (and too close to index.html?).