view c/Makefile @ 14:900cc9a036ca tip

Fixed download address.
author samer
date Fri, 20 Feb 2015 14:53:13 +0000
parents 9b52fefb48c9
children
line wrap: on
line source
# This will not work as a stand-alone make file - it must be
# called recursively from the make file in the directory above.

TARGET=plosc.$(SOEXT)
PLLDFLAGS=-I$(LIBLO)/include -L$(LIBLO)/lib -llo -fPIC -Wall

.SUFFIXES: .c .o .so .dylib

main: $(TARGET)

clean:
	rm $(TARGET)

.c.so: 
	$(PLLD) -v $(PLLDFLAGS) -shared -o $@ $<
	strip -x $@

.c.dylib: 
	$(PLLD) -v $(PLLDFLAGS) -shared -o $@ $<
	strip -x $@

install:
	install $(INSTALL_FLAGS) $(TARGET) $(INSTALL_LIB_TO)