projects
/
libjh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b41b5c
)
jh.h, not libjh.h
author
Jann Horn
<jannhorn@googlemail.com>
Sun, 16 Jun 2013 20:43:13 +0000
(22:43 +0200)
committer
Jann Horn
<jannhorn@googlemail.com>
Sun, 16 Jun 2013 20:43:13 +0000
(22:43 +0200)
compile.sh
patch
|
blob
|
history
diff --git
a/compile.sh
b/compile.sh
index
e770e59
..
0768daf
100755
(executable)
--- a/
compile.sh
+++ b/
compile.sh
@@
-39,7
+39,7
@@
for source_file in $(ls|grep '\.c$'); do
echo ''
echo ''
echo ''
echo ''
-done > gen/
lib
jh.h
+done > gen/jh.h
# preprocess all source files
for source_file in $(ls|grep '\.c$'); do
# preprocess all source files
for source_file in $(ls|grep '\.c$'); do
@@
-47,7
+47,7
@@
for source_file in $(ls|grep '\.c$'); do
source_name="$(sed 's|\.c$||' <<< "$source_file")"
# do our own preprocessing
source_name="$(sed 's|\.c$||' <<< "$source_file")"
# do our own preprocessing
- echo '#include "../
lib
jh.h"' > "gen/realc/$source_name.c"
+ echo '#include "../jh.h"' > "gen/realc/$source_name.c"
cat "$source_file" |
grep -v '^PUBLIC_CONST ' |
cat "$source_file" |
grep -v '^PUBLIC_CONST ' |
@@
-79,4
+79,4
@@
done
# ... and link!
cd gen/obj
$CC -shared -Wl,-soname,libjh.so -o ../libjh.so $(ls)
# ... and link!
cd gen/obj
$CC -shared -Wl,-soname,libjh.so -o ../libjh.so $(ls)
-cd ../..
\ No newline at end of file
+cd ../..