repo.or.cz
/
quarnos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
net: udp sending data routine
[quarnos.git]
/
scripts
/
mk_conf.pl
blob
7200d8436b85949c66fff069f82e70f0692d256e
1
#!/usr/bin/perl
2
3
open
(
QCONF
,
"quarnconf.h"
);
4
@conf_
= <
QCONF
>;
5
6
$conf
=
""
;
7
8
for
$next
(
@conf_
) {
9
$conf
.=
$next
;
10
}
11
12
if
(
$conf
=~
/#define $ARGV[0]\t\t(.)/
) {
13
print
$1
;
14
}
15