summarylogtreecommitdiffstats
path: root/libs.patch
blob: ab58855e93864b794bfaaa17ad7cbfbfe565579f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,13 @@
 # This file is public domain as declared by Sturm Mabie.
 # 
 
-CC=gcc
+CC=cc
 PROG=stag
-CURSES=-lncurses -lmenu -lform 
+CURSES=-lncurses -lmenu -lform
 CURSESW=-lncursesw -lmenuw -lformw -D_CURSESW_WIDE
 FILES=ui.c stag.c tagger.c strlcpy.c strlcat.c basename.c dirname.c kb.c
-CFLAGS+=-ansi -pedantic -Wall -D_BSD_SOURCE
-CPPFLAGS+=-I/usr/local/include `taglib-config --cflags`
-LDFLAGS+=-L/usr/local/lib `taglib-config --libs` -ltag_c -lstdc++ 
+CPPFLAGS+=-I/usr/include `taglib-config --cflags`
+LDFLAGS+=-L/usr/lib `taglib-config --libs` -ltag_c -lstdc++
 
 wide:
 	$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(CURSESW) $(FILES) -o $(PROG)