annotate c/Makefile @ 14:900cc9a036ca tip

Fixed download address.
author samer
date Fri, 20 Feb 2015 14:53:13 +0000
parents 9b52fefb48c9
children
rev   line source
samer@0 1 # This will not work as a stand-alone make file - it must be
samer@0 2 # called recursively from the make file in the directory above.
samer@0 3
samer@7 4 TARGET=plosc.$(SOEXT)
samer@0 5 PLLDFLAGS=-I$(LIBLO)/include -L$(LIBLO)/lib -llo -fPIC -Wall
samer@0 6
samer@0 7 .SUFFIXES: .c .o .so .dylib
samer@0 8
samer@0 9 main: $(TARGET)
samer@0 10
samer@0 11 clean:
samer@0 12 rm $(TARGET)
samer@0 13
samer@0 14 .c.so:
samer@0 15 $(PLLD) -v $(PLLDFLAGS) -shared -o $@ $<
samer@0 16 strip -x $@
samer@0 17
samer@0 18 .c.dylib:
samer@0 19 $(PLLD) -v $(PLLDFLAGS) -shared -o $@ $<
samer@0 20 strip -x $@
samer@0 21
samer@0 22 install:
samer@0 23 install $(INSTALL_FLAGS) $(TARGET) $(INSTALL_LIB_TO)
samer@0 24