Add clean target in C Makefile

This commit is contained in:
Antti Kajander 2018-09-24 13:32:46 +03:00
parent 3102c8115e
commit 22cafce1c2

View File

@ -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)