Mercurial > audlegacy
diff src/audtool/Makefile @ 2313:3149d4b1a9a9 trunk
[svn] - objective-make autodepend fixes
- move all sourcecode into src/ and adjust Makefiles accordingly
author | nenolod |
---|---|
date | Fri, 12 Jan 2007 11:43:40 -0800 |
parents | |
children | 0358eb5783e6 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/audtool/Makefile Fri Jan 12 11:43:40 2007 -0800 @@ -0,0 +1,29 @@ +include ../../mk/rules.mk +include ../../mk/init.mk +include ../../mk/objective.mk + +beepincludedir = $(includedir)/audacious + +OBJECTIVE_BINS = audtool + +LDFLAGS += $(AUDLDFLAGS) +LDADD = \ + -L../libaudacious -laudacious \ + $(GTK_LIBS) \ + $(LIBGLADE_LIBS) + +CFLAGS += \ + $(GTK_CFLAGS) \ + $(LIBGLADE_CFLAGS) \ + $(BEEP_DEFINES) \ + $(ARCH_DEFINES) \ + -I.. -I../.. \ + -I../intl + +SOURCES = audtool.c + +OBJECTS = ${SOURCES:.c=.o} + +audtool: $(OBJECTS) + $(CC) $(LDFLAGS) $(OBJECTS) $(LDADD) -o $@ + @printf "%10s %-20s\n" LINK $@