add make(1)

seems fairly stable!
This commit is contained in:
2020-02-11 00:30:21 -08:00
parent 21787f248e
commit d868f6ca61
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 $@ $<