]> git.cworth.org Git - wordgame/blobdiff - Makefile
Move the main game logic from grid.c to new word-game.c
[wordgame] / Makefile
index 8d8e5a5e36dace4e4d7b619037d430184409adff..2e1e7e06a965eacf3da38380f37f4187fc90b3a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,9 @@
-WGCFLAGS=-Wall -Wextra -Wno-unused-parameter
+WGCFLAGS=-Wall -Wextra -Wmissing-prototypes -Wno-unused-parameter
 
 PROGRAMS=grid
 all: $(PROGRAMS)
 
-LIBRARY=dict.o
+LIBRARY=dict.o word-game.o
 
 grid: grid.o $(LIBRARY)
        $(CC) $(CFLAGS) $(WGCFLAGS) $(LDFLAGS) -lreadline -lm -o $@ $^