Skip to content

Commit

Permalink
Add option to choose plugin version.
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Feb 14, 2020
1 parent 402520c commit f4bf73b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ clean:
mostlyclean: clean

SOURCES = listenbrainz.c
$(SOURCES:%.c=%.o): %: listenbrainz.c
SOURCES_DIR = vlc-3.0

liblistenbrainz_plugin.so: $(SOURCES:%.c=%.o)
$(SOURCES:%.c=$(SOURCES_DIR)/%.o): %: listenbrainz.c

liblistenbrainz_plugin.so: $(SOURCES:%.c=$(SOURCES_DIR)/%.o)
$(CC) $(LDFLAGS) -shared -o $@ $^ $(LIBS)

.PHONY: all install install-strip uninstall clean mostlyclean

0 comments on commit f4bf73b

Please sign in to comment.