Clean up makefile so build lib doesnt build test

This commit is contained in:
jaburns
2020-10-19 22:58:32 -06:00
parent 16af13ea8b
commit f6aec6d58e
3 changed files with 40 additions and 22 deletions
+7
View File
@@ -383,6 +383,13 @@ int main( void )
size_t romSize;
uint8_t *rom = utils_read_file_alloc( "baserom.us.z64", &romSize );
if( rom == NULL )
{
printf("\nFailed to read ROM file \"baserom.us.z64\"\n\n");
return 1;
}
uint8_t *texture = malloc( 4 * SM64_TEXTURE_WIDTH * SM64_TEXTURE_HEIGHT );
sm64_global_init( rom, texture, NULL );