Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tristan Matthews
bitstream
Commits
b1aa8180
Commit
b1aa8180
authored
May 02, 2018
by
Christophe Massiot
Browse files
Merge branch 'gfto-examples_fixup'
parents
11dc4a96
6bf35fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/Makefile
View file @
b1aa8180
PREFIX
?=
/usr/local
WARN
=
-Wall
-Wextra
-Wno-unused-parameter
-Wno-sign-compare
CPPFLAGS
=
-I
.
CPPFLAGS
=
-I
.
-I
..
-I
../..
CFLAGS
:=
$(WARN)
-O2
-g
$(CFLAGS)
LDFLAGS
:=
-lrt
$(LDFLAGS)
OBJ
=
dvb_print_si dvb_gen_si dvb_ecmg dvb_ecmg_test mpeg_print_pcr rtp_check_seqnum mpeg_restamp
ifeq
"$(shell uname -s)" "Linux"
LDFLAGS
+=
-lrt
endif
ifeq
"$(shell uname -s)" "Darwin"
LDLIBS
+=
-liconv
# Prevent generation of .dSYM debug directories
CFLAGS
+=
-gstabs
LDFLAGS
+=
-liconv
endif
all
:
$(OBJ)
...
...
@@ -21,4 +22,4 @@ install: $(OBJ)
install
-m
755
$(OBJ)
"
$(DESTDIR)$(PREFIX)
/bin"
clean
:
$(RM)
$(OBJ)
$(RM)
-rf
$(OBJ)
*
.dSYM
Write
Preview
Supports
Markdown
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