Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-imgsrv
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-imgsrv
Commits
77bd8e65
Commit
77bd8e65
authored
Aug 12, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 'install' target to Makefile
parent
004e80ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
3 deletions
+17
-3
Makefile
Makefile
+17
-3
No files found.
Makefile
View file @
77bd8e65
PROGS
=
imgsrv
PROGS
=
imgsrv
PHPCLI
=
exif.php imu_setup.php start_gps_compass.php
PHPCLI
=
exif.php imu_setup.php start_gps_compass.php
CONF
FILES
=
Exif_template.xml
CONF
IGS
=
Exif_template.xml
SRCS
=
imgsrv.c
SRCS
=
imgsrv.c
OBJS
=
imgsrv.o
OBJS
=
imgsrv.o
CFLAGS
+=
-Wall
-I
$(ELPHEL_KERNEL_DIR)
/include/elphel
CFLAGS
+=
-Wall
-I
$(STAGING_KERNEL_DIR)
/include/elphel
LDLIBS
+=
SYSCONFDIR
=
/etc/
BINDIR
=
/usr/bin/
WWW_PAGES
=
/www/pages
all
:
$(PROGS)
all
:
$(PROGS)
$(PROGS)
:
$(OBJS)
$(PROGS)
:
$(OBJS)
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
$(CC)
$(LDFLAGS)
$^
$(LDLIBS)
-o
$@
install
:
install
-d
$(DESTDIR)$(BINDIR)
install
-m
0755
-t
$(DESTDIR)$(BINDIR)
$(PROGS)
install
-d
$(DESTDIR)$(SYSCONFDIR)
install
-m
0644
-t
$(DESTDIR)$(SYSCONFDIR)
$(CONFIGS)
install
-d
$(DESTDIR)$(WWW_PAGES)
install
-m
0755
-t
$(DESTDIR)$(WWW_PAGES)
$(PHPCLI)
clean
:
clean
:
rm
-rf
$(PROGS)
*
.o core
rm
-rf
$(PROGS)
*
.o core
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