Start of ptap UI

This commit is contained in:
2013-02-01 17:39:02 +00:00
parent c8fcc8e778
commit 4d16160270
2 changed files with 54 additions and 11 deletions

View File

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