Move ducker to separate directory

This commit is contained in:
2013-02-01 17:39:11 +00:00
parent 4d16160270
commit 60bbaac366
4 changed files with 31 additions and 0 deletions

24
ducker/Makefile Normal file
View File

@@ -0,0 +1,24 @@
CFLAGS := -Wall -O3 -g -D_GNU_SOURCE
LDFLAGS := -lm
CFLAGS += `pkg-config lv2core --cflags`
LDFLAGS += `pkg-config lv2core --libs`
DUCKERSRC := ducker.c
DUCKEROBJ := $(DUCKERSRC:.c=.o)
DUCKERO := ducker.so
all: $(DUCKERO)
clean:
rm $(DUCKEROBJ) $(DUCKERO)
depend:
makedepend $(DUCKERSRC)
$(DUCKERO): $(DUCKEROBJ)
$(CC) -shared -fPIC -Wl,-soname,$(DUCKERO) $(DUCKEROBJ) -o $@
.c.o:
$(CC) -c -fPIC $(CFLAGS) $< -o $@