Begin to consolidate files
This commit is contained in:
parent
23ba1aa0dd
commit
8e514f4ada
14
gen.c
Normal file
14
gen.c
Normal 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;
|
||||
|
||||
}
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user