6 include ../../config.mak
10 #CFLAGS += `sdl-config --cflags`
13 CFLAGS += $(PLUGIN_CFLAGS)
15 # need to compile to another dir, same files are compiled
16 # into main binary without PIC
17 OBJS2 = $(patsubst %.o,obj/%.o,$(OBJS))
19 TARGET = gpulib.$(ARCH).a
21 all: ../../config.mak obj $(TARGET)
27 $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $^
30 $(AS) $(ASFLAGS) -o $@ $^
33 $(RM) $(TARGET) $(OBJS2)
39 @echo "Please run ./configure before running make!"