view 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
line wrap: on
line source

include ../../mk/rules.mk
include ../../mk/init.mk

OBJECTIVE_LIBS_NOINST = libwidgets.a

LDFLAGS += -Wl,-export-dynamic

CFLAGS += \
	$(GTK_CFLAGS)      \
	$(LIBGLADE_CFLAGS) \
	$(BEEP_DEFINES)    \
	$(ARCH_DEFINES)    \
	-I../..    \
	-I..	   \
	-I../../intl \
	-Wno-strict-aliasing

SOURCES = \
	widget.c \
	sbutton.c \
	pbutton.c \
	tbutton.c \
	textbox.c \
	hslider.c \
	menurow.c \
	monostereo.c \
	vis.c \
	svis.c \
	number.c \
	playstatus.c \
	playlist_list.c \
	playlist_slider.c \
	eq_graph.c \
	eq_slider.c \
	skin.c

OBJECTS = ${SOURCES:.c=.o}

include ../../mk/objective.mk

libwidgets.a: $(OBJECTS)
	$(AR) cq $@ $(OBJECTS)