Skip to content

Commit

Permalink
make clean on :all
Browse files Browse the repository at this point in the history
  • Loading branch information
sax committed Nov 29, 2012
1 parent 869a8a3 commit 502d774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
#
guard 'shell' do
watch(/(.*).c/) {|m| `make` }
watch(/Makefile/) {|m| `make` }
end
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
CC=cc
CFLAGS=-Wall

all: server
all: clean server

server: clean build_dir
server: build_dir
$(CC) $(CFLAGS) distrans.c -o build/distrans
chmod 0744 build/distrans

Expand Down

0 comments on commit 502d774

Please sign in to comment.