summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcspace.com>2020-09-20 17:36:04 -0500
committerBrett Weiland <brett_weiland@bpcspace.com>2020-09-20 17:36:04 -0500
commitac650d65b065faaec76b8327e493757344195cc9 (patch)
tree349049649b4c0c22ee3a705bfcf9948f40e3edfa /makefile
parent948ab0358bc97ad2b74019309b05f54e67fa2e43 (diff)
modified: maintain_focus.c
modified: makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/makefile b/makefile
index c352f29..2dbf5ae 100644
--- a/makefile
+++ b/makefile
@@ -1,8 +1,9 @@
CC=gcc
OUT=capture_focus
+LIBS=-lgphoto2 -lncurses -ltinfo
make: maintain_focus.c
- $(CC) maintain_focus.c -lgphoto2 -o $(OUT)
+ $(CC) maintain_focus.c $(LIBS) -o $(OUT)
debug: maintain_focus.c
- $(CC) maintain_focus.c -lgphoto2 -ggdb -o $(OUT)
+ $(CC) maintain_focus.c $(LIBS) -ggdb -o $(OUT)