You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.
LDFLAGS="$WSYSROOT/lib/libSDL2.dll.a $WSYSROOT/lib/libSDL2_mixer.dll.a $WSYSROOT/lib/libSDL2main.a" #linking with -lSDL2 et al tries to do static linking, which we don't want here
#normal
C zig cc $ZIGFLAGS -c ../celeste.c -o celeste.o
C zig cc $ZIGFLAGS $LDFLAGS celeste.o ../sdl12main.c -o ccleste.exe
#fixed point
C zig c++ $ZIGFLAGS -DCELESTE_P8_FIXEDP -c -xc++ ../celeste.c -o celeste-fixedp.o
C zig cc $ZIGFLAGS $LDFLAGS celeste-fixedp.o ../sdl12main.c -o ccleste-fixedp.exe
#fixed point + balloon hack
C zig c++ $ZIGFLAGS -DCELESTE_P8_FIXEDP -DCELESTE_P8_HACKED_BALLOONS -c -xc++ ../celeste.c -o celeste-fixedp-balloonhack.o
C zig cc $ZIGFLAGS $LDFLAGS celeste-fixedp-balloonhack.o ../sdl12main.c -o ccleste-fixedp-balloonhack.exe