X-Git-Url: https://plomlompom.com/repos/test.html?a=blobdiff_plain;f=Makefile;h=72e91137ac2f1cb17724c083a76e35452fd864e7;hb=3663e5190d818c51d9b8e8107bf3cc713e0ece03;hp=7bb72f66f96f13a13d4183ee5c190e2101241a2c;hpb=94be953e83260d2a5dbce9e6a9443ebe0c41cd2d;p=plomrogue
diff --git a/Makefile b/Makefile
index 7bb72f6..72e9113 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
roguelike:
- cc -g -o windows.o -c windows.c
- cc -g -o roguelike.o -c roguelike.c
- cc -g -o roguelike windows.o roguelike.o -lncurses -lm
+ cc -Wall -g -o windows.o -c windows.c
+ cc -Wall -g -o draw_wins.o -c draw_wins.c
+ cc -Wall -g -o keybindings.o -c keybindings.c
+ cc -Wall -g -o roguelike.o -c roguelike.c
+ cc -Wall -g -o roguelike windows.o draw_wins.o keybindings.o roguelike.o -lncurses
clean:
rm *.o; rm roguelike