mirror of
https://github.com/arnavbhatt288/sdl-2.30.3-kolibri.git
synced 2025-09-21 02:50:08 +02:00
3
Makefile
3
Makefile
@@ -105,7 +105,7 @@ TOBJS = src/test/SDL_test_assert.o src/test/SDL_test_common.o src/test/SDL_test_
|
||||
|
||||
CFLAGS = -c -O2 -mpreferred-stack-boundary=2 -fno-ident -fomit-frame-pointer -fno-stack-check \
|
||||
-fno-stack-protector -mno-stack-arg-probe -fno-exceptions -fno-asynchronous-unwind-tables \
|
||||
-ffast-math -mno-ms-bitfields -fexpensive-optimizations \
|
||||
-ffast-math -mno-ms-bitfields -fexpensive-optimizations -march=pentium-mmx \
|
||||
-D__KOLIBRI__ -D_KOLIBRI -DKOLIBRI -D_KOS_ -D_KOS -DKOS \
|
||||
-DPACKAGE=\"SDL\" -DVERSION=\"2.30.3\" -U_Win32 -UWIN32 -U_WIN32 -U__MINGW32__ -U__WIN32__ \
|
||||
-I../newlib/libc/include/ -Iinclude/ -Iatomic/ -Iaudio/ -Icpuinfo/ -Ievents/ -Ifile/ -Ihaptic/ \
|
||||
@@ -134,4 +134,3 @@ $(LIBNAMETEST).dll: $(TOBJS)
|
||||
clean:
|
||||
rm -f $(OBJS) $(TOBJS) ../../lib/$(LIBNAME).a ../../lib/$(LIBNAMETEST).a $(LIBNAME).dll $(LIBNAME).dll.a \
|
||||
$(LIBNAMETEST).dll $(LIBNAMETEST).dll.a
|
||||
|
||||
|
@@ -4,13 +4,13 @@ OBJCOPY = kos32-objcopy
|
||||
|
||||
SDK_DIR = ../../..
|
||||
LDFLAGS = -nostdlib -static --image-base 0 -T $(SDK_DIR)/sources/newlib/app.lds --subsystem native
|
||||
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -D_KOLIBRI -DNO_ZIP -DPERFORMANCE
|
||||
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32
|
||||
LIBS = -lSDL2test -lSDL2 -lgcc -lc.dll -lc -lsound
|
||||
|
||||
INCLUDES = -I $(SDK_DIR)/sources/newlib/libc/include -I ../include/
|
||||
LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib
|
||||
|
||||
all: checkkeys loopwave testatomic testaudioinfo testbounds testcustomcursor testdisplayinfo testdraw2 testdrawchessboard testfile \
|
||||
all: checkkeys loopwave loopwavequeue testatomic testaudioinfo testbounds testcustomcursor testdisplayinfo testdraw2 testdrawchessboard testfile \
|
||||
testfilesystem testgeometry testiconv testime testintersections testkeys testmouse testmultiaudio testoverlay2 \
|
||||
testplatform testqsort testrelative testrendercopyex testrendertarget testresample testscale testshape testsprite2 \
|
||||
testspriteminimal teststreaming testver testviewport testwm2 testyuv
|
||||
@@ -160,7 +160,7 @@ testyuv: testyuv.o testyuv_cvt.o
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f checkkeys loopwave testatomic testaudioinfo testbounds testcustomcursor testdisplayinfo testdraw2 testdrawchessboard testfile \
|
||||
rm -f checkkeys loopwave loopwavequeue testatomic testaudioinfo testbounds testcustomcursor testdisplayinfo testdraw2 testdrawchessboard testfile \
|
||||
testfilesystem testgeometry testiconv testime testintersections testkeys testmouse testmultiaudio testoverlay2 \
|
||||
testplatform testqsort testrelative testrendercopyex testrendertarget testresample testscale testshape testsprite2 \
|
||||
testspriteminimal teststreaming testver testviewport testwm2 testyuv
|
||||
|
Reference in New Issue
Block a user