Commit 03fde964 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Add disk test program

The program sequentionally writes counter value to disk
parent ec1f0c4e
GUIDIR = camogmgui
PROGS = camogm
TEST_PROG = camogm_test
PHPSCRIPTS = camogmstate.php $(GUIDIR)/camogmgui.php $(GUIDIR)/camogmgui.css $(GUIDIR)/camogmgui.js $(GUIDIR)/camogm_interface.php \
$(GUIDIR)/SpryTabbedPanels.css $(GUIDIR)/SpryTabbedPanels.js $(GUIDIR)/xml_simple.php $(GUIDIR)/SpryCollapsiblePanel.css \
......@@ -11,6 +12,7 @@ IMAGES = $(GUIDIR)/images/filebrowser-01.gif $(GUIDIR)/images/filebrowser-bo
SRCS = camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c
TEST_SRC = camogm_test.c
OBJS = $(SRCS:.c=.o)
CFLAGS += -Wall -I$(STAGING_DIR_HOST)/usr/include-uapi
......@@ -26,14 +28,17 @@ BINDIR = /usr/bin/
WWW_PAGES = /www/pages
all: $(PROGS)
all: $(PROGS) $(TEST_PROG)
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
$(TEST_PROG): $(TEST_SRC:.c=.o)
......@@ -47,7 +52,7 @@ clean:
depend: .depend
.depend: $(SRCS)
.depend: $(SRCS) $(TEST_SRCS)
rm -f ./.depend
$(CC) $(CFLAGS) -MM $^ > ./.depend;
This diff is collapsed.
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