diff options
| author | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-07 20:06:44 +0000 |
|---|---|---|
| committer | dacctal <120422854+dacctal@users.noreply.github.com> | 2026-03-07 20:06:44 +0000 |
| commit | 97d70a6f8252b15928ca7f51386df791dedf0067 (patch) | |
| tree | fa56caf88d93aee2db0f74ca70f777654ab9cfba /Makefile | |
| parent | 8926f839720471cc86fd4f7c6371d63b8f71b91d (diff) | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e02bad1 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +CC = clang++ +RM = rm -f +PREFIX ?= /usr/local +CXXFLAGS = $(shell pkg-config --cflags --libs luajit ) + +default: pkgit + +pkgit: src/main.cc + $(CC) -o pkgit src/main.cc -I"./include" $(CXXFLAGS) + chmod +x pkgit + +install: pkgit + install -d $(DESTDIR)$(PREFIX)/bin + install -m 755 pkgit $(DESTDIR)$(PREFIX)/bin/pkgit |
