X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=tools%2Fcsprite%2FMakefile;fp=tools%2Fcsprite%2FMakefile;h=fa1448d18037e43f61bd7458ec66709afadc48ae;hb=02d3f6c78597600d2b100748aa54241228b9ca09;hp=0000000000000000000000000000000000000000;hpb=ba648ddfc62fc6d3f47294aa8bfc10ea6ca3f479;p=dosdemo 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)