mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-03-24 21:02:43 +01:00
raspberry pi port
This commit is contained in:
30
raspberrypi/test/Makefile
Normal file
30
raspberrypi/test/Makefile
Normal file
@@ -0,0 +1,30 @@
|
||||
# glestest makefile
|
||||
# Global definitions
|
||||
|
||||
CC = gcc
|
||||
|
||||
OBJS = gles_video.o test.o
|
||||
|
||||
BIN = glestest
|
||||
|
||||
# Platform specific definitions
|
||||
|
||||
CFLAGS+=-D_LINUX
|
||||
|
||||
LIBS +=-L$(SDKSTAGE)/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt
|
||||
|
||||
INCLUDES+=-I$(SDKSTAGE)/opt/vc/include -I$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads
|
||||
|
||||
# Compilation:
|
||||
|
||||
all: $(BIN)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $<
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
$(CC) $(OBJS) $(LIBS) -o $(BIN)
|
||||
|
||||
clean:
|
||||
rm -f *.o $(BIN)
|
||||
|
||||
Reference in New Issue
Block a user