Print this page
10618 want CTF in audio utilities
*** 25,35 ****
--- 25,39 ----
#
PROG= audioplay
include ../../Makefile.cmd
+ include ../../Makefile.ctf
+ SRCS= audioplay.c
+ OBJS= $(SRCS:.c=.o)
+
INCLUDES += -I../include
CPPFLAGS += $(INCLUDES)
LDLIBS += -laudio -lm
*** 44,55 ****
--- 48,64 ----
.KEEP_STATE:
all: $(PROG)
+ $(PROG): $(OBJS)
+ $(LINK.c) -o $@ $(OBJS) $(LDFLAGS) $(LDLIBS)
+ $(POST_PROCESS)
+
install: all $(ROOTPROG)
clean:
+ $(RM) $(OBJS)
lint: lint_PROG
include ../../Makefile.targ