init
This commit is contained in:
11
Makefile
Normal file
11
Makefile
Normal file
@@ -0,0 +1,11 @@
|
||||
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)
|
||||
install -g 0 -o 0 -m man/pm.1 /usr/local/man/man1
|
||||
gzip /usr/local/man/man1/pm.1
|
||||
Reference in New Issue
Block a user