X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=ld45_start_nothing;a=blobdiff_plain;f=tools%2Fcsprite%2FMakefile;fp=tools%2Fcsprite%2FMakefile;h=fa1448d18037e43f61bd7458ec66709afadc48ae;hp=0000000000000000000000000000000000000000;hb=8a43487117b23806e478603f3c8ab72e37cd1882;hpb=78cf90d60c7cdbfcb8bc1d3e3d03a577d1b70f7b diff --git a/tools/csprite/Makefile b/tools/csprite/Makefile new file mode 100644 index 0000000..fa1448d --- /dev/null +++ b/tools/csprite/Makefile @@ -0,0 +1,13 @@ +src = $(wildcard src/*.c) +obj = $(src:.c=.o) +bin = csprite + +CFLAGS = -pedantic -Wall -g +LDFLAGS = -lpng -lz + +$(bin): $(obj) + $(CC) -o $@ $(obj) $(LDFLAGS) + +.PHONY: clean +clean: + rm -f $(obj) $(bin)