Commit 7b8b1871 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Add 'install' target to Makefile

parent 74052a0f
PROGS = camogm
PHPFILES = camogmstate.php
CONFIGS = qt_source
SRCS = camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c
OBJS = camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o camogm_read.o index_list.o
CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/elphel
LDLIBS += -logg -pthread -lm
CFLAGS += -Wall -I$(STAGING_KERNEL_DIR)/include/elphel
LDLIBS += -logg -pthread -lm
BINDIR = /usr/bin/
WWW_PAGES = /www/pages
all: $(PROGS)
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
install -d $(DESTDIR)$(BINDIR)
install -m 0755 -t $(DESTDIR)$(BINDIR) $(PROGS)
install -d $(DESTDIR)$(SYSCONFDIR)
install -m 0644 -t $(DESTDIR)$(SYSCONFDIR) $(CONFIGS)
rm -rf $(PROGS) *.o *~
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment