Begin to consolidate files

This commit is contained in:
Arvinder Bhathal 2017-06-28 04:46:56 -04:00
parent 23ba1aa0dd
commit 8e514f4ada
2 changed files with 18 additions and 0 deletions

14
gen.c Normal file
View File

@ -0,0 +1,14 @@
// consolidate code into this file
#include "bitmap.h"
#include <dlfcn.h>
int main(int argc, char const *argv[])
{
if(argc != 5)
{
printf("Usage: %s <base ft.so dir> <test ft.so dir> <font dir> <char size>", argv[0]);
}
return 0;
}

View File

@ -3,3 +3,7 @@ gcc generate-old-hashes.c bitmap.c murmur3.c -I <old ft dir>/include -L <old ft
Compile with new:
gcc compare-new-to-old.c bitmap.c murmur3.c -I <new ft dir>/include -L <new ft dir>/objs -lfreetype -o compare-new-to-old
For consolidated gen.c:
gcc gen.c bitmap.c murmur3.c -I/usr/local/include/freetype2/ -lfreetype -o gen
./genc <base ft.so dir> <test ft.so dir> <font dir> <char size>