Commit f81305d2 authored by Andrey Filippov's avatar Andrey Filippov

minor cleanup

parent 4b678f4e
...@@ -2,9 +2,11 @@ PROGS = camogm ...@@ -2,9 +2,11 @@ PROGS = camogm
PHPFILES = camogmstate.php PHPFILES = camogmstate.php
SRCS = camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c 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 #OBJS = camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o camogm_read.o index_list.o
OBJS = $(SRC:.c=.o)
CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/uapi/elphel #CFLAGS += -Wall -I$(ELPHEL_KERNEL_DIR)/include/uapi/elphel
CFLAGS += -Wall -I$(STAGING_DIR_HOST)/usr/include-uapi/elphel
LDLIBS += -logg -pthread -lm LDLIBS += -logg -pthread -lm
all: $(PROGS) all: $(PROGS)
...@@ -14,3 +16,5 @@ $(PROGS): $(OBJS) ...@@ -14,3 +16,5 @@ $(PROGS): $(OBJS)
clean: clean:
rm -rf $(PROGS) *.o *~ rm -rf $(PROGS) *.o *~
#TODO: implement automatic dependencies!
camogm.c:$(STAGING_DIR_HOST)/usr/include-uapi/elphel/x393_devices.h
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