# CC = gcc -DMEMDEBUG -Wall -Wshadow -Wid-clash-8 -Wpointer-arith -Wcast-qual -Wwrite-strings CC = gcc -ansi -D_ANSI_SOURCE #LEX = lex LEX = flex #LEXLIB = -ll LEXLIB = -lfl MEMDEBUG = all: token pdawg wordtell wordcheck sextest wordroff wordtex spell.shar screensp.o dawg_words dawg_challenge # boggle echo All programs up to date. # boggle has been moved to ../gtboggle. See also ../gboggle dawg_challenge: dawg_challenge.c cc -o dawg_challenge dawg_challenge.c -L. -lspell dawg_words: dawg_words.c cc -o dawg_words dawg_words.c -L. -lspell boggle: boggle.c cc -o boggle boggle.c -L. -lspell wordroff: wordroff.l $(LEX) wordroff.l $(CC) -o wordroff lex.yy.c $(LEXLIB) libspell.a: makefile echo NEED TO MAKE LIBSPELL.A wordtex: wordtex.l $(LEX) wordtex.l $(CC) -o wordtex lex.yy.c $(LEXLIB) sharfile: spell.shar @echo Sharfile created spell.shar: ReadMe grope.h porting.h splib.h dawg.h token.c pdawg.c sextest.c wordtell.c wordcheck.c dawg_words.c dawg_challenge.c makefile shar ReadMe grope.h porting.h splib.h dawg.h token.c pdawg.c sextest.c wordcheck.c dawg_words.c dawg_challenge.c makefile > spell.shar token: token.c dawg.h splib.h libspell.a $(CC) -o token token.c $(MEMDEBUG) -L. -lspell pdawg: pdawg.c splib.h libspell.a $(CC) -o pdawg pdawg.c $(MEMDEBUG) -L. -lspell wordcheck: wordcheck.c splib.h libspell.a $(CC) -o wordcheck wordcheck.c $(MEMDEBUG) -L. -lspell screensp.o: wordcheck.c splib.h $(CC) -c screensp.c $(MEMDEBUG) wordtell: wordtell.c splib.h libspell.a $(CC) -o wordtell wordtell.c $(MEMDEBUG) -L. -lspell sextest: sextest.c $(CC) -o sextest sextest.c clean: pdawg token wordcheck sextest wordroff wordtex rm pdawg rm token rm wordcheck rm sextest rm dawg_words rm dawg_challenge