diff --git a/fortune/Makefile b/fortune/Makefile new file mode 100644 index 0000000..fa63ccf --- /dev/null +++ b/fortune/Makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -O2 + +BINDIR = /usr/local/bin + +fortune: fortune.c + $(CC) $(CFLAGS) -o fortune fortune.c -lant + +clean: + rm fortune core + +install: $(BINDIR)/fortune + +$(BINDIR)/fortune: fortune + cp fortune $(BINDIR)/fortune +