summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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)