RSS

(root)/users/piem/portmidi : /debian/patches/03_pm_test_Makefile.diff (revision 27)

To get this branch, use:
bzr branch /loggerhead/users/piem/portmidi
Line Revision Contents
1 3
--- portmidi-20041117.orig/pm_test/Makefile
2
+++ portmidi-20041117/pm_test/Makefile
3
@@ -0,0 +1,32 @@
4
+# For debugging, define PM_CHECK_ERRORS
5
+PMFLAGS = -DPM_CHECK_ERRORS
6
+# Use this for linux alsa (0.9x) version
7
+ALSALIB = -lasound
8
+pmlib = -lportmidi
9
+ptlib = -lporttime
10
+VFLAGS = -DPMALSA
11
+
12
+CC = gcc $(CFLAGS) $(VFLAGS) $(PMFLAGS) -g
13
+
14
+all: test sysex midithread latency midithru
15
+
16
+test: test.o
17
+	$(CC) test.c -o test $(pmlib) $(ptlib) $(ALSALIB)
18
+
19
+sysex: sysex.o
20
+	$(CC) sysex.c -o sysex $(pmlib) $(ptlib) $(ALSALIB)
21
+
22
+midithread: midithread.o
23
+	$(CC) midithread.c -o midithread \
24
+		$(pmlib) $(ptlib) $(ALSALIB)
25
+
26
+latency: latency.o
27
+	$(CC) latency.c -o latency $(pmlib) $(ptlib) \
28
+		$(ALSALIB) -lpthread -lm
29
+
30
+midithru: midithru.o
31
+	$(CC) midithru.c -o midithru $(pmlib) $(ptlib) \
32
+		$(ALSALIB) -lpthread -lm
33
+
34
+clean:
35
+	rm -f midithru latency midithread sysex test

Loggerhead 1.17 is a web-based interface for Bazaar branches