Commit graph

24 commits

Author SHA1 Message Date
Renato Rotenberg
2df7ba9cdc
macOS: compile universal binaries (x86_64 and arm64) (#64) 2024-11-06 23:08:34 -03:00
Omar Rizwan
7790f7a444 Fix test build on Mac 2024-06-18 22:18:49 -04:00
Omar Rizwan
d5d0b5409e Makefile: Fixup DUMMY shell assignment for macOS make 2024-06-18 18:31:38 -04:00
Omar Rizwan
62c247f432 Makefile: Fix cc command not having include path
Fixes one set of build errors on macOS (clang vs. gcc difference?)
2024-06-18 18:22:05 -04:00
Renato Rotenberg
acd3b49fc0 Fix compilation order dependency for generated level.c file 2024-04-01 19:59:33 -03:00
circuit10
8cad1ae39e
Add -fno-strict-aliasing
By default libsm64 is compiled with no optimisation so this doesn't matter, but if people want optimisation this stops it from breaking
2023-08-12 01:22:23 +01:00
Renato Rotenberg
74b8dc231f Only export lib functions in linux builds 2023-03-04 20:19:48 -03:00
headshot2017
6e5accb909 turn audio.c and main.c into CPP files
fixes crash when trying to init audio on linux
2023-01-12 13:44:50 -04:00
headshot2017
6e8aa3dd91 add gl renderers and audio sources to makefile
also suppress unused function warning (cglm.h) and allow using 'make run' on windows
2022-12-27 21:34:01 -04:00
headshot2017
fab76290bc modify makefile to detect windows or linux 2022-12-27 18:07:46 -04:00
MeltyPlayer
7bd0cc9a2c Enabled NO_SEGMENTED_MEMORY flag in order to fix bug when converting virtual to physical memory addresses. 2022-10-27 22:37:33 -05:00
MeltyPlayer
37c8ce046c Loaded and returned audio banks. Let's see if this actually works, though... 2022-10-21 01:04:56 -05:00
MeltyPlayer
fda9452421 Fixed how DLs are rendered past the bounds of short values. 2022-10-20 00:54:05 -05:00
MeltyPlayer
c4b7dce9f7 Stopped deleting the Mario files and test level in clean, since it was taking forever to rebuild as a result. 2022-10-17 20:13:26 -05:00
jaburns
1dfcce07bb Fix musl build not actually statically linking musl 2022-04-15 13:41:32 -06:00
jaburns
fad2570b98 Add flag to link musl instead of glibc 2022-04-15 13:28:23 -06:00
jaburns
6563afc16d Free remaining global allocs 2020-10-27 15:51:04 -06:00
jaburns
fcb6b5b431 Massive refactor 2020-10-27 11:07:42 -06:00
jaburns
5f59e1a178 Added support for building on Windows 2020-10-25 01:36:47 -06:00
jaburns
f6aec6d58e Clean up makefile so build lib doesnt build test 2020-10-19 22:58:32 -06:00
jaburns
d3a2cbd2b2 Include C test program in repo 2020-10-19 22:17:32 -06:00
jaburns
82126eca3c Makefile reimports when import script changes 2020-10-19 17:17:28 -06:00
jaburns
baec38c80e Clean up python script 2020-10-19 13:03:51 -06:00
jaburns
06bc6e7503 Removed hacky bash script, replaced with proper makefile 2020-10-19 12:59:50 -06:00