diff options
| author | dacctal <dacctalyt@gmail.com> | 2026-04-03 14:56:05 +0000 |
|---|---|---|
| committer | dacctal <dacctalyt@gmail.com> | 2026-04-03 14:56:05 +0000 |
| commit | ed78991edc4755c0276dcb4eb454b43fa38296fc (patch) | |
| tree | 460da5399e34e1dce7a293cb22578da15977d895 /Makefile | |
| parent | 2a6b92ed130ade1ea7542ee210e6957427a0aa81 (diff) | |
countless changes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
@@ -1,19 +1,23 @@ -CC = clang++ -RM = rm -f -PREFIX ?= /usr/local -CXXFLAGS = $(shell pkg-config --cflags --libs luajit ) +CC = clang++ +RM = rm -f +PREFIX ?= /usr/local +CXXFLAGS += $(shell pkg-config --cflags --libs luajit ) -I./include default: pkgit pkgit: src/main.cc - $(CC) -o pkgit src/main.cc -I"./include" $(CXXFLAGS) + ${CC} -o pkgit src/*.cc ${CXXFLAGS} chmod +x pkgit install: pkgit - install -d $(DESTDIR)$(PREFIX)/bin - install -m 755 pkgit $(DESTDIR)$(PREFIX)/bin/pkgit + install -d ${DESTDIR}${PREFIX}/bin + install -m 755 pkgit ${DESTDIR}${PREFIX}/bin/pkgit luatest: src/lua_build.cc - $(CC) -o luatest src/lua_build.cc -I"./include" $(CXXFLAGS) + ${CC} -o luatest src/lua_build.cc ${CXXFLAGS} chmod +x luatest + +repotest: src/setup_repo.cc + ${CC} -o repotest src/setup_repo.cc ${CXXFLAGS} + chmod +x repotest |
