Skip to content

Commit

Permalink
update makefile
Browse files Browse the repository at this point in the history
default is now make all by moving clean directive below all directive.
using rm -f so that if executables do not exist then no error.
  • Loading branch information
RichardChambers committed Jan 10, 2018
1 parent 5377197 commit aa571d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project11/makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

clean:
rm tiltbuzz_1 tiltbuzz_2 tiltbuzz_3

all: tiltbuzz_1 tiltbuzz_2 tiltbuzz_3

clean:
rm -f tiltbuzz_1 tiltbuzz_2 tiltbuzz_3

tiltbuzz_1: tiltbuzz_1.c lcd1602.c pinreadwrite.c
cc -o tiltbuzz_1 tiltbuzz_1.c lcd1602.c pinreadwrite.c -lwiringPi

Expand Down

0 comments on commit aa571d6

Please sign in to comment.