summaryrefslogtreecommitdiffstats
path: root/games/2048/files/patch-Makefile
blob: fa095ba6b3a0912170c367102733f25fd361f23a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- Makefile.orig	2016-03-30 07:46:31 UTC
+++ Makefile
@@ -1,7 +1,7 @@
 CC             ?= clang
 TTF_FONT_PATH  ?= res/Anonymous Pro.ttf
 CFLAGS         += -DTTF_FONT_PATH="\"$(TTF_FONT_PATH)\""
-CFLAGS         += -Wno-visibility -Wno-incompatible-pointer-types -Wall -Wextra
+CFLAGS         += -Wall -Wextra
 CFLAGS         += -DINVERT_COLORS -DVT100 -O2
 LFLAGS         +=
 
@@ -13,7 +13,7 @@ FILTERED_C_FILES := $(filter-out src/gfx
 all: terminal
 
 curses: $(FILTERED_C_FILES) src/gfx_curses.c
-	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_curses.c -o $(PROGRAM) $(LDFLAGS) -lcurses
+	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_curses.c -o $(PROGRAM) $(LDFLAGS) -lncurses
 
 terminal: $(FILTERED_C_FILES) src/gfx_terminal.c
 	$(CC) $(CFLAGS) $(FILTERED_C_FILES) $(MERGE_FILE) src/gfx_terminal.c -o $(PROGRAM) $(LDFLAGS)
OpenPOWER on IntegriCloud