diff options
| author | Henry Webster <hwebs@hwebs.info> | 2026-07-25 10:30:18 -0500 |
|---|---|---|
| committer | Henry Webster <hwebs@hwebs.info> | 2026-07-25 10:30:18 -0500 |
| commit | b014e15bf02f3956110b8e3b3c921922e81c912b (patch) | |
| tree | 4d1a286bffd33ed69ee9d975ff801c2a95ccc0bc /Makefile | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..806bd76 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +PREFIX ?= /usr/local + +CFLAGS += -Wall -Wextra $(shell pkg-config --cflags libdiscid) +LDLIBS += $(shell pkg-config --libs libdiscid) + +pdiscidurl: pdiscidurl.c + +.PHONY: install clean +install: pdiscidurl + install -Dm755 pdiscidurl $(DESTDIR)$(PREFIX)/bin/pdiscidurl + +clean: + rm -f pdiscidurl |
