Atlas - Makefile.pandora
Home / ext / SDL2 Lines: 1 | Size: 1521 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1# Makefile to build the pandora SDL library 2 3AR = arm-none-linux-gnueabi-ar 4RANLIB = arm-none-linux-gnueabi-ranlib 5CC = arm-none-linux-gnueabi-gcc 6CXX = arm-none-linux-gnueabi-g++ 7STRIP = arm-none-linux-gnueabi-strip 8 9CFLAGS = -O3 -march=armv7-a -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp \ 10 -mfpu=neon -ftree-vectorize -ffast-math -fomit-frame-pointer -fno-strict-aliasing -fsingle-precision-constant \ 11 -I./include -I$(PNDSDK)/usr/include 12 13TARGET = libSDL.a 14 15SOURCES = 16 ./src/*.c \ 17 ./src/atomic/*.c \ 18 ./src/audio/*.c \ 19 ./src/audio/disk/*.c \ 20 ./src/audio/dsp/*.c \ 21 ./src/audio/dummy/*.c \ 22 ./src/cpuinfo/*.c \ 23 ./src/events/*.c \ 24 ./src/file/*.c \ 25 ./src/filesystem/unix/*.c \ 26 ./src/haptic/*.c \ 27 ./src/haptic/linux/*.c \ 28 ./src/joystick/*.c \ 29 ./src/joystick/linux/*.c \ 30 ./src/loadso/dlopen/*.c \ 31 ./src/power/*.c \ 32 ./src/sensor/*.c \ 33 ./src/sensor/dummy/*.c \ 34 ./src/stdlib/*.c \ 35 ./src/thread/*.c \ 36 ./src/thread/pthread/SDL_syscond.c \ 37 ./src/thread/pthread/SDL_sysmutex.c \ 38 ./src/thread/pthread/SDL_syssem.c \ 39 ./src/thread/pthread/SDL_systhread.c \ 40 ./src/timer/*.c \ 41 ./src/timer/unix/*.c \ 42 ./src/video/*.c \ 43 ./src/video/dummy/*.c \ 44 ./src/video/pandora/SDL_pandora.o \ 45 ./src/video/pandora/SDL_pandora_events.o \ 46 ./src/video/x11/*.c \ 47 48 49OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g') 50 51CONFIG_H = $(shell cp include/SDL_config_pandora.h include/SDL_config.h) 52 53all: $(TARGET) 54 55$(TARGET): $(CONFIG_H) $(OBJECTS) 56 $(AR) crv $@ $^ 57 $(RANLIB) $@ 58 59clean: 60 rm -f $(TARGET) $(OBJECTS) 61[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.