mirror of
https://github.com/JorjBauer/aiie.git
synced 2025-01-13 07:29:58 +00:00
fixes for the SDL build
This commit is contained in:
parent
ed95a42091
commit
8702a25b4a
4
Makefile
4
Makefile
@ -3,8 +3,8 @@ LDFLAGS=-L/usr/local/lib
|
||||
SDLLIBS=-lSDL2 -lpthread
|
||||
FBLIBS=-lpthread
|
||||
|
||||
CFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -DSUPPRESSREALTIME -DSTATICALLOC
|
||||
CXXFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -DSUPPRESSREALTIME -DSTATICALLOC
|
||||
CFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -DSUPPRESSREALTIME -DSTATICALLOC -DAIIE
|
||||
CXXFLAGS=-Wall -I/usr/include/SDL2 -I .. -I . -I apple -I nix -I sdl -I/usr/local/include/SDL2 -g -DSUPPRESSREALTIME -DSTATICALLOC -DAIIE
|
||||
|
||||
TSRC=cpu.cpp util/testharness.cpp
|
||||
|
||||
|
@ -7,11 +7,14 @@
|
||||
// Block number we start packing data bits after (Woz 2.0 images)
|
||||
#define STARTBLOCK 3
|
||||
|
||||
#if defined(AIIE) || defined(TEENSYDUINO)
|
||||
#define LAZYFD
|
||||
#include "fscompat.h"
|
||||
#endif
|
||||
|
||||
#ifdef TEENSYDUINO
|
||||
// This junk is for my AiiE project. I need to abstract it out better.
|
||||
#include "fscompat.h"
|
||||
#define SKIPCHECKSUM
|
||||
#define LAZYFD
|
||||
#define malloc extmem_malloc
|
||||
#define free extmem_free
|
||||
#define calloc extmem_calloc
|
||||
|
Loading…
x
Reference in New Issue
Block a user