Mercurial > audlegacy
annotate audacious/widgets/Makefile @ 1718:44c3711dd049 trunk
[svn] Fixed a LOT of warnings showing up with -Wall. This is the first step
towards making Audacious compile with -Wall -Werror, but it's still far
from beeing finished.
PS: *sigh* I even had to patch C++ (therefore ugly) files!
author | js |
---|---|
date | Sat, 16 Sep 2006 17:17:22 -0700 |
parents | 320ce198ab34 |
children | feb638a29462 |
rev | line source |
---|---|
1653 | 1 include ../../mk/rules.mk |
2 include ../../mk/init.mk | |
3 | |
4 OBJECTIVE_LIBS_NOINST = libwidgets.a | |
5 | |
6 LDFLAGS += -Wl,-export-dynamic | |
7 | |
8 CFLAGS += \ | |
9 $(GTK_CFLAGS) \ | |
10 $(LIBGLADE_CFLAGS) \ | |
11 $(BEEP_DEFINES) \ | |
12 $(ARCH_DEFINES) \ | |
13 -I../.. \ | |
14 -I.. \ | |
15 -I../../intl \ | |
1716
320ce198ab34
[svn] Our code is clean enough to not need -Wno-strict-aliasing, with the exception of playlist_list.c (so set that flag for widgets dir only).
chainsaw
parents:
1680
diff
changeset
|
16 -Wno-strict-aliasing |
1653 | 17 |
18 SOURCES = \ | |
19 widget.c \ | |
20 sbutton.c \ | |
21 pbutton.c \ | |
22 tbutton.c \ | |
23 textbox.c \ | |
24 hslider.c \ | |
25 menurow.c \ | |
26 monostereo.c \ | |
27 vis.c \ | |
28 svis.c \ | |
29 number.c \ | |
30 playstatus.c \ | |
31 playlist_list.c \ | |
32 playlist_slider.c \ | |
33 eq_graph.c \ | |
34 eq_slider.c \ | |
35 skin.c | |
36 | |
37 OBJECTS = ${SOURCES:.c=.o} | |
38 | |
39 include ../../mk/objective.mk | |
1680
92b4af21e6d2
[svn] Fixed some Makefiles to make it work with BSD make.
js
parents:
1653
diff
changeset
|
40 |
92b4af21e6d2
[svn] Fixed some Makefiles to make it work with BSD make.
js
parents:
1653
diff
changeset
|
41 libwidgets.a: $(OBJECTS) |
92b4af21e6d2
[svn] Fixed some Makefiles to make it work with BSD make.
js
parents:
1653
diff
changeset
|
42 $(AR) cq $@ $(OBJECTS) |