diff options
author | Aaron Ball <nullspoon@oper.io> | 2019-07-19 23:45:49 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2019-07-19 23:45:49 -0600 |
commit | f0e6402da28dcfd542750e04cd5807253aff855d (patch) | |
tree | a1f22549ff4bcc8fc99cdd3f0a7f302836bc6dad | |
parent | ec5df5fd9d2403b610356377e29e77a272d1809d (diff) | |
download | kbd-fade-f0e6402da28dcfd542750e04cd5807253aff855d.tar.gz kbd-fade-f0e6402da28dcfd542750e04cd5807253aff855d.tar.xz |
Update Makefile with debug and install targets
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ -CCOPTS = --std=gnu99 -Wall +CCOPTS = --std=gnu99 -Wall $(DBG) +PREFIX = /usr + all: cc src/main.c -o kbd-fade + +debug: + make all DBG=-g + +install: + install -D -m 755 kbd-fade -t $(DESTDIR)$(PREFIX)/bin |