CC=gcc
CFLAGS=-g -Wall -pedantic -ansi -Wtraditional -Wstrict-prototypes -Wmissing-prototypes
CFLAGS=-O3
INSTALLDIR=/usr/local
FORTUNEDIR=/usr/games/lib/fortunes

jargon2fortune: jargon2fortune.c
	$(CC) $(CFLAGS) -o jargon2fortune jargon2fortune.c

clean:
	rm -rf *.o *~ jargon2fortune core

install:
	install -m 755 jargon2fortune $(INSTALLDIR)/bin

install_fortunes:
	install -m 644 jargon jargon.dat $(FORTUNEDIR)
