fix compilation
[libjh.git] / compile.sh
index 6e3b1c6..5a4327b 100755 (executable)
@@ -25,7 +25,8 @@ echo "going ahead with CFLAGS=\"$CFLAGS\"..." >&2
 
 # generate header
 set +f
 
 # generate header
 set +f
-cat *.h > gen/jh.h
+# needs correct order, so list them here
+cat header.h bufio.h > gen/jh.h
 set -f
 for source_file in $(ls|grep '\.c$'); do
   echo "extracting header data from $source_file..." >&2
 set -f
 for source_file in $(ls|grep '\.c$'); do
   echo "extracting header data from $source_file..." >&2