mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-14 05:15:43 +01:00
29 lines
441 B
Makefile
29 lines
441 B
Makefile
#
|
|
# Makefile for Mixer
|
|
#
|
|
|
|
TOPDIR = ..
|
|
|
|
include $(TOPDIR)/Makefile.conf
|
|
|
|
OBJECTS = amixer.o amain.o
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .o .cpp .c .s .S
|
|
|
|
.cpp.o:
|
|
$(CXX) $(COPTS) $(INCLUDE) -c -o $*.o $<
|
|
|
|
all: amixer
|
|
|
|
amixer.o: amixer.cpp
|
|
$(CXX) $(COPTS) $(INCLUDE) -c -o amixer.o amixer.cpp
|
|
amain.o: amain.cpp
|
|
$(CXX) $(COPTS) $(INCLUDE) -c -o amain.o amain.cpp
|
|
|
|
amixer: $(OBJECTS)
|
|
$(CXX) -o amixer $(SNDLIB) $(OBJECTS)
|
|
|
|
clean:
|
|
rm -f *.o amixer *~
|
|
|