pm/Makefile

12 lines
301 B
Makefile
Raw Permalink Normal View History

2023-03-28 14:13:44 -04:00
include config.mk
all: src/main.c
$(CC) $(CFLAGS) $(LDFLAGS) src/main.c -o src/pm
install: src/pm man/pm.1
install src/pm $(PREFIX)/bin
install -d $(PM_ENTRIES_DIR)
touch $(PM_ENTRIES_DIR)/$(PM_ENTRIES_FILE)
2023-03-28 16:49:04 -04:00
install -g 0 -o 0 -m man/pm.1 /usr/local/man/man1/pm.1
2023-03-28 14:13:44 -04:00
gzip /usr/local/man/man1/pm.1