tMakefile - cynth - modular musical synthesizer using POSIX streams
 (HTM) git clone git://src.adamsgaard.dk/cynth
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
       tMakefile (439B)
       ---
            1 CFLAGS=-O2 -Wall
            2 LDLIBS=-lm
            3 
            4 cynth:        osc
            5 
            6 osc:        src/osc.o src/oscillators.o
            7         $(CC) $(LDLIBS) $^ -o $@
            8 
            9 clean:
           10         $(RM) osc src/*.o
           11 
           12 edit:
           13         $(EDITOR) -p Makefile src/*.c src/*.h
           14 
           15 test-osc: osc
           16         @#./$< | aplay -c 1 -f S16_LE -r 44100 
           17         ./$< -c 1 -r 44100 | aplay -c 1 -r 44100 
           18         @#./$< | aplay
           19 
           20 test:        osc
           21         cat seq-data/lead.txt | ./osc -w triangle -r 16000 -h16 -V 0.2 | aplay -r 16000 &
           22         cat seq-data/bass.txt | ./osc -r 16000 | aplay -r 16000