jh.h, not libjh.h
authorJann Horn <jannhorn@googlemail.com>
Sun, 16 Jun 2013 20:43:13 +0000 (22:43 +0200)
committerJann Horn <jannhorn@googlemail.com>
Sun, 16 Jun 2013 20:43:13 +0000 (22:43 +0200)
compile.sh

index e770e59..0768daf 100755 (executable)
@@ -39,7 +39,7 @@ for source_file in $(ls|grep '\.c$'); do
   
   echo ''
   echo ''
   
   echo ''
   echo ''
-done > gen/libjh.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 "../libjh.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 ../..