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