Add Makefile

This commit is contained in:
cælōrum spectātrīx 2025-11-17 19:35:29 +01:00
parent 5affa3ce46
commit 703b2e661d
2 changed files with 20 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/kissy

19
Makefile Normal file
View file

@ -0,0 +1,19 @@
CC := gcc
CFLAGS := -O2 -pipe -Wall -Wextra
INSTALL := install
PREFIX := /usr/local
BINDIR := bin
.PHONY: all
all: kissy
kissy: kissy.c
$(CC) $(CFLAGS) -o kissy kissy.c
.PHONY: install
install:
$(INSTALL) -Dm2755 -oroot -gtty -s kissy $(DESTDIR)$(PREFIX)/$(BINDIR)/kissy
.PHONY: clean
clean:
rm -f kissy