Add clean target in C Makefile
This commit is contained in:
parent
3102c8115e
commit
22cafce1c2
@ -1,2 +1,8 @@
|
||||
blurhash: blurhash_stb.c encode.c encode.h stb_image.h
|
||||
PROGRAM=blurhash
|
||||
|
||||
$(PROGRAM): blurhash_stb.c encode.c encode.h stb_image.h
|
||||
$(CC) -o $@ blurhash_stb.c encode.c -lm
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f $(PROGRAM)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user