Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioping
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ioping
Commits
7f720e61
Commit
7f720e61
authored
Apr 19, 2016
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29 from vapier/master
various build improvements
parents
aa2558ce
fd78922a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
.gitignore
.gitignore
+2
-0
Makefile
Makefile
+4
-3
ioping.c
ioping.c
+1
-0
No files found.
.gitignore
0 → 100644
View file @
7f720e61
*.o
/ioping
Makefile
View file @
7f720e61
CFLAGS
+=
-std
=
gnu99
-g
-Wall
-Wextra
-pedantic
-O2
-funroll-loops
-ftree-vectorize
CFLAGS
?=
-g
-O2
-funroll-loops
-ftree-vectorize
CFLAGS
+=
-std
=
gnu99
-Wall
-Wextra
-pedantic
LIBS
=
-lm
-lrt
PREFIX
=
/usr/local
BINDIR
=
$(PREFIX)
/bin
...
...
@@ -53,12 +54,12 @@ test: $(BINARY)
install
:
$(BINARY) $(MANS)
mkdir
-p
$(DESTDIR)$(BINDIR)
install
-
s
-
m
0755
$(BINARY)
$(DESTDIR)$(BINDIR)
install
-m
0755
$(BINARY)
$(DESTDIR)$(BINDIR)
mkdir
-p
$(DESTDIR)$(MAN1DIR)
install
-m
644
$(MANS)
$(DESTDIR)$(MAN1DIR)
%.o
:
%.c
$(CC)
$(CFLAGS)
-DEXTRA_VERSION
=
\"
${EXTRA_VERSION}
\"
-c
-o
$@
$<
$(CC)
$(CFLAGS)
$(CPPFLAGS)
-DEXTRA_VERSION
=
\"
${EXTRA_VERSION}
\"
-c
-o
$@
$<
%.ps
:
%.1
man
-t
./
$<
>
$@
...
...
ioping.c
View file @
7f720e61
...
...
@@ -48,6 +48,7 @@
#ifdef __linux__
# include <sys/ioctl.h>
# include <sys/mount.h>
# include <sys/sysmacros.h>
# define HAVE_CLOCK_GETTIME
# define HAVE_POSIX_FADVICE
# define HAVE_POSIX_MEMALIGN
...
...
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