Skip to content

Commit

Permalink
add clean option to cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
mazeto committed Apr 20, 2018
1 parent dcbc547 commit 0d7e1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cookbook
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CFLAGS="-W -Wall -Werror -Wextra -O0 -s"

contains tcc $@ && CC=tcc
contains clang $@ && CC=clang
contains clean $@ && rm -v bin/minisc && exit

[[ $CC == gcc ]] && CFLAGS="$CFLAGS -DGCC"

Expand Down

0 comments on commit 0d7e1b1

Please sign in to comment.