blob: 9ed992f2b767e9bddbbfd86ab4bcf180aa612c09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
CFLAGS += -ggdb -Wall
ifndef DEBUG
CFLAGS += -O2
endif
include ../../config.mak
OBJS += gpu.o
ifeq "$(ARCH)" "arm"
ifeq "$(HAVE_NEON)" "1"
OBJS += cspace_neon.o
else
OBJS += cspace.o
endif
OBJS += vout_fb.o
EXT = a
else
CFLAGS += `sdl-config --cflags`
OBJS += vout_sdl.o
EXT = $(ARCH).a
endif
CFLAGS += $(PLUGIN_CFLAGS)
TARGET = gpulib.$(EXT)
all: ../../config.mak $(TARGET)
$(TARGET): $(OBJS)
$(AR) crs $@ $^
clean:
$(RM) $(TARGET) $(OBJS)
../../config.mak:
@echo "Please run ./configure before running make!"
@exit 1
|