simple/fortune/Makefile

17 lines
224 B
Makefile
Raw Permalink Normal View History

1994-01-08 19:05:49 +01:00
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