dockapps/AlsaMixer.app/Makefile
Wade Berrier f331064eae Add AlsaMixer.app to repository
http://dockapps.windowmaker.org/file.php/id/253 shows a version available from

http://www.stud.fit.vutbr.cz/~xhlavk00/AlsaMixer.app/

but it's a dead link.

Check in the version from

http://dockapps.windowmaker.org/download.php/id/517/AlsaMixer.app-0.1.tar.gz

Untarred and removed version from directory.  No other changes.

Signed-off-by: Wade Berrier <wberrier@gmail.com>
2012-10-02 23:26:31 +01:00

36 lines
800 B
Makefile

#
# Mixer.app Makefile
#
DESTDIR =
GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/AlsaMixer.app
X11_BINDIR = /usr/X11R6/bin
CXX=c++
CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 -lasound
OBJECTS = Main.o Mixer.o Xpm.o AMixer/AMixer.o AMixer/AItem.o AMixer/AChannel.o
all: AlsaMixer.app
AlsaMixer.app: $(OBJECTS)
$(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
.PHONY: install clean distclean
install: install-gnustep
install-gnustep: all
install -d $(DESTDIR)$(GNUSTEP_BINDIR)
install -m 0755 AlsaMixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/AlsaMixer
install-x11: all
install -d $(DESTDIR)$(X11_BINDIR)
install -m 0755 AlsaMixer.app $(DESTDIR)$(X11_BINDIR)/AlsaMixer.app
clean:
rm -f *~ $(OBJECTS) AlsaMixer.app
# End of file