add make(1)

seems fairly stable!
This commit is contained in:
2020-02-11 00:30:21 -08:00
parent 93fd4e8bc7
commit 464de25980
2 changed files with 13 additions and 2 deletions

View File

@@ -25,5 +25,9 @@ run: $(BIN)
keypress: keypress.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ keypress.c
.PHONY: install
install: $(BIN)
cp $(BIN) $(HOME)/bin/
%.o: %.c
$(CC) $(CFLAGS) -c $@ $<