wmmoonclock: fix typo.
[dockapps.git] / AlsaMixer.app / Makefile
blob23dcfe704736727664dc7356a4ce7615552506ea
2 # AlsaMixer.app Makefile
4 # Copyright (c) 1998-2002 Per Liden
5 # Copyright (C) 2004, Petr Hlavka
7 # SPDX-License-Identifier: GPL-2.0+
9 DESTDIR =
10 GNUSTEP_BINDIR = /usr/local/GNUstep/Apps/AlsaMixer.app
11 X11_BINDIR = /usr/X11R6/bin
13 CXX=c++
14 CXXFLAGS += -Wall -pedantic -fno-rtti -fno-exceptions -O2 -I/usr/X11R6/include
15 LDFLAGS += -L/usr/X11R6/lib -lXpm -lXext -lX11 -lasound
17 OBJECTS = Main.o Mixer.o Xpm.o AMixer/AMixer.o AMixer/AItem.o AMixer/AChannel.o
19 all: AlsaMixer.app
21 AlsaMixer.app: $(OBJECTS)
22 $(CXX) $(OBJECTS) -o $@ $(LDFLAGS)
24 .PHONY: install clean distclean
26 install: install-gnustep
28 install-gnustep: all
29 install -d $(DESTDIR)$(GNUSTEP_BINDIR)
30 install -m 0755 AlsaMixer.app $(DESTDIR)$(GNUSTEP_BINDIR)/AlsaMixer
32 install-x11: all
33 install -d $(DESTDIR)$(X11_BINDIR)
34 install -m 0755 AlsaMixer.app $(DESTDIR)$(X11_BINDIR)/AlsaMixer.app
36 clean:
37 rm -f *~ $(OBJECTS) AlsaMixer.app
39 # End of file