OSDN Git Service

Updates for write path..
[android-x86/external-alsa-utils.git] / amixer / Makefile
1 #
2 # Makefile for Mixer
3 #
4
5 TOPDIR = ..
6
7 include $(TOPDIR)/Makefile.conf
8
9 OBJECTS = amixer.o amain.o
10
11 .SUFFIXES:
12 .SUFFIXES: .o .cpp .c .s .S
13
14 .cpp.o:
15         $(CXX) $(COPTS) $(INCLUDE) -c -o $*.o $<
16
17 all: amixer
18
19 amixer.o: amixer.cpp
20         $(CXX) $(COPTS) $(INCLUDE) -c -o amixer.o amixer.cpp
21 amain.o: amain.cpp
22         $(CXX) $(COPTS) $(INCLUDE) -c -o amain.o amain.cpp
23         
24 amixer: $(OBJECTS)
25         $(CXX) -o amixer $(SNDLIB) $(OBJECTS)
26
27 clean:
28         rm -f *.o amixer *~
29