FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
code-with-comments/webbench/Makefile at master · tinyxt/code-with-comments · GitHub
tinyxt
/
code-with-comments
Public
forked from
AngryHacker/code-with-comments
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
code-with-comments
/
webbench
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (32 loc) · 1.04 KB
Breadcrumbs
code-with-comments
/
webbench
/
Makefile
Copy path
File metadata and controls
40 lines (32 loc) · 1.04 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
CFLAGS?
= -Wall -ggdb -W -O
CC?
= gcc
LIBS?
=
LDFLAGS?
=
PREFIX?
= /usr/local
VERSION
=1.5
TMPDIR
=/tmp/webbench-
$(
VERSION
)
all
: webbench tags
tags
:
*
.c
-ctags
*
.c
install
: webbench
install -s webbench
$(
DESTDIR
)$(
PREFIX
)
/bin
install -m 644 webbench.1
$(
DESTDIR
)$(
PREFIX
)
/man/man1
install -d
$(
DESTDIR
)$(
PREFIX
)
/share/doc/webbench
install -m 644 debian/copyright
$(
DESTDIR
)$(
PREFIX
)
/share/doc/webbench
install -m 644 debian/changelog
$(
DESTDIR
)$(
PREFIX
)
/share/doc/webbench
webbench
: webbench.o Makefile
$(
CC
)
$(
CFLAGS
)
$(
LDFLAGS
)
-o webbench webbench.o
$(
LIBS
)
clean
:
-rm -f
*
.o webbench
*
~ core
*
.core tags
tar
: clean
-debian/rules clean
rm -rf
$(
TMPDIR
)
install -d
$(
TMPDIR
)
cp -p Makefile webbench.c socket.c webbench.1
$(
TMPDIR
)
install -d
$(
TMPDIR
)
/debian
-cp -p debian/
*
$(
TMPDIR
)
/debian
ln -sf debian/copyright
$(
TMPDIR
)
/COPYRIGHT
ln -sf debian/changelog
$(
TMPDIR
)
/ChangeLog
-cd
$(
TMPDIR
)
&&
cd
..
&&
tar cozf webbench-
$(
VERSION
)
.tar.gz webbench-
$(
VERSION
)
webbench.o
: webbench.c socket.c Makefile
.PHONY
: clean install all tar
Back
|
FazBrowse Home
|
New Git URL