diff options
| author | coast <coasteen@proton.me> | 2026-05-18 15:23:51 +0330 |
|---|---|---|
| committer | coast <coasteen@proton.me> | 2026-05-18 15:23:51 +0330 |
| commit | 59167a7529e37a82ad7f1d541e9b91745608f8aa (patch) | |
| tree | 3a5fe62fe85150272c5fab25462392ec1bce18cc /makefile | |
| parent | 0193f647eff03696308377d0847967b51ed0db47 (diff) | |
| download | chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.gz chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.bz2 chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.xz chd-59167a7529e37a82ad7f1d541e9b91745608f8aa.tar.zst | |
INIT 2 GITHUB
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -8,19 +8,19 @@ CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOUR CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os $(INCS) $(CPPFLAGS) LDFLAGS = $(LIBS) CC = cc -all: piss -piss: src/daemon.c - $(CC) $(CFLAGS) -o piss src/daemon.c $(LDFLAGS) +all: chd +chd: src/daemon.c + $(CC) $(CFLAGS) -o chd src/daemon.c $(LDFLAGS) clean: - rm -f piss + rm -f chd install: all mkdir -p $(DESTDIR)$(PREFIX)/bin - cp -f piss $(DESTDIR)$(PREFIX)/bin - chmod 755 $(DESTDIR)$(PREFIX)/bin/piss + cp -f chd $(DESTDIR)$(PREFIX)/bin + chmod 755 $(DESTDIR)$(PREFIX)/bin/chd mkdir -p $(DESTDIR)$(MANPREFIX)/man1 - cp -f src/piss.1 $(DESTDIR)$(MANPREFIX)/man1/piss.1 - chmod 644 $(DESTDIR)$(MANPREFIX)/man1/piss.1 + cp -f src/chd.1 $(DESTDIR)$(MANPREFIX)/man1/chd.1 + chmod 644 $(DESTDIR)$(MANPREFIX)/man1/chd.1 uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/piss - rm -f $(DESTDIR)$(MANPREFIX)/man1/piss.1 + rm -f $(DESTDIR)$(PREFIX)/bin/chd + rm -f $(DESTDIR)$(MANPREFIX)/man1/chd.1 .PHONY: all clean install uninstall |
