alsa-utils/aplay/Makefile
1998-08-28 14:08:47 +00:00

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