Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
928c20e9
Commit
928c20e9
authored
Jul 19, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up Makefile
parent
25b188fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
26 deletions
+3
-26
Makefile
Makefile
+3
-26
No files found.
Makefile
View file @
928c20e9
AXIS_USABLE_LIBS
=
UCLIBC GLIBC
AXIS_AUTO_DEPEND
=
yes
#include $(AXIS_TOP_DIR)/tools/build/Rules.axis
INSTDIR
=
$(prefix)
/usr/local/sbin/
OTHERDIR
=
$(prefix)
/usr/html/
PHPDIR
=
$(prefix)
/usr/html/
INSTMODE
=
0755
INSTOTHER
=
0644
INSTPHP
=
0644
INSTOWNER
=
root
INSTGROUP
=
root
INCDIR
=
$(prefix)
/include
PROGS
=
camogm
PHPFILES
=
camogmstate.php
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
#CFLAGS += -Wall -I$(INCDIR) -I$(ELPHEL_KERNEL_DIR)/include/elphel
LDLIBS
+=
-logg
-pthread
-lm
all
:
$(PROGS)
$(PROGS)
:
$(OBJS)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-logg
-pthread
-lm
-o
$@
install
:
$(PROGS)
$(INSTALL)
-d
$(INSTDIR)
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PROGS)
$(INSTDIR)
#already installed with ccam.cgi
$(INSTALL)
-m
$(INSTMODE)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
qt_source
$(prefix)/etc
$(INSTALL)
-m
$(INSTPHP)
-o
$(INSTOWNER)
-g
$(INSTGROUP)
$(PHPFILES)
$(PHPDIR)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
clean
:
rm
-rf
$(PROGS)
*
.o
*
~
configsubs
:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment