diff Makefile @ 1:9cadc470e3da

reorganize, add more
author pmeerw@pan
date Fri, 30 Oct 2009 23:07:52 +0100
parents audiodelay/Makefile@deadffdf5d60
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Fri Oct 30 23:07:52 2009 +0100
@@ -0,0 +1,23 @@
+PROGRAMS = audiodelay alsacap rtaudio-test
+RM = rm -f
+
+CC       = gcc
+CXX       = g++
+CFLAGS   = -O2 -Wall
+
+all: $(PROGRAMS)
+
+alsacap: alsacap.c
+	$(CC) $(CFLAGS) -o $@ alsacap.c -lasound
+
+audiodelay: audiodelay.cpp 
+	$(CXX) $(CFLAGS) -o $@ audiodelay.cpp -lpthread -lasound -lrtaudio
+
+rtaudio-test: rtaudio-test.cpp 
+	$(CXX) $(CFLAGS) -o $@ rtaudio-test.cpp -lpthread -lasound -lrtaudio
+
+clean: 
+	-$(RM) *.o $(PROGRAMS) *~ 
+
+strip: 
+	strip $(PROGRAMS)

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.