mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:26:29 +01:00
34 lines
553 B
Makefile
34 lines
553 B
Makefile
#
|
|
# Makefile for aplay program
|
|
# Copyright (c) 1994-98 by Jaroslav Kysela <perex@jcu.cz>
|
|
#
|
|
|
|
TOPDIR=..
|
|
|
|
include $(TOPDIR)/Makefile.conf
|
|
|
|
TARGET=aplay
|
|
TARGET1=arecord
|
|
OBJECTS=aplay.o
|
|
|
|
.c.o:
|
|
$(CC) $(COPTS) $(INCLUDE) -c -o $*.o $<
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): .depend $(OBJECTS)
|
|
$(CC) $(SNDLIB) $(OBJECTS) -o $(TARGET)
|
|
ln -sf $(TARGET) $(TARGET1)
|
|
|
|
clean:
|
|
rm -f core aplay .depend *.o *.orig *~
|
|
|
|
.depend:
|
|
$(CPP) $(COPTS) $(INCLUDE) -M *.c > .depend
|
|
|
|
#
|
|
# include a dependency file if one exists
|
|
#
|
|
ifeq (.depend,$(wildcard .depend))
|
|
include .depend
|
|
endif
|