X-Git-Url: https://git.xandkar.net/?p=dups.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=d79ad631b969a9b2ca03443bb42a265429eec47f;hp=0000000000000000000000000000000000000000;hb=cce97c27face42237f2b3757c91ad6e29685d54a;hpb=00913a1ac144d831e3f0323355da151b115304a3 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d79ad63 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +TARGET := dupfiles.native + +.PHONY: all build clean run + +all: + @$(MAKE) -s clean + @$(MAKE) -s build + +build: + @ocamlbuild -cflags '-w A' $(TARGET) + +clean: + @ocamlbuild -clean + +run: + @find ~ -type f | egrep -v '/.git/' | ./$(TARGET)