asbeats: Add format string to fprintf().
[dockapps.git] / AlsaMixer.app / Makefile
blob14f510c24652e34a1938f870fd6ed795ee33bb78
2 # Mixer.app Makefile
5 DESTDIR =
6 GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/AlsaMixer.app
7 X11_BINDIR = /usr/X11R6/bin
9 CXX=c++
10 CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
11 LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 -lasound
13 OBJECTS = Main.o Mixer.o Xpm.o AMixer/AMixer.o AMixer/AItem.o AMixer/AChannel.o
15 all: AlsaMixer.app
17 AlsaMixer.app: $(OBJECTS)
18 $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
20 .PHONY: install clean distclean
22 install: install-gnustep
24 install-gnustep: all
25 install -d $(DESTDIR)$(GNUSTEP_BINDIR)
26 install -m 0755 AlsaMixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/AlsaMixer
28 install-x11: all
29 install -d $(DESTDIR)$(X11_BINDIR)
30 install -m 0755 AlsaMixer.app $(DESTDIR)$(X11_BINDIR)/AlsaMixer.app
32 clean:
33 rm -f *~ $(OBJECTS) AlsaMixer.app
35 # End of file