Skip to content

Commit

Permalink
Add clean target to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
setarcos committed May 20, 2014
1 parent fd27562 commit 851b82d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
CFLAGS=-std=gnu99 -Wall
ch341prog: main.c ch341a.c
ch341prog: main.c ch341a.c ch341a.h
gcc $(CFLAGS) ch341a.c main.c -o ch341prog -lusb-1.0
clean:
rm *.o ch341prog -f
.PHONY: clean

0 comments on commit 851b82d

Please sign in to comment.