diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..d5e8e3eab572f3d98bb92d8c640d5e4e9a0adce5 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CFLAGS += -Wall -Werror + +# find our hammer build - adjust this to your needs +# i have, for instance, symlinks: +# hammer@ -> ../hammer/src +# lib@ -> ../hammer/build/opt/src +CFLAGS += -I. +LDFLAGS += -L./lib + +all: pdf +.PHONY: all + +pdf: pdf.c + $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $> -lhammer