bring in configure build system
[pcsx_rearmed.git] / plugins / dfxvideo / Makefile
diff --git a/plugins/dfxvideo/Makefile b/plugins/dfxvideo/Makefile
new file mode 100644 (file)
index 0000000..b6cc756
--- /dev/null
@@ -0,0 +1,20 @@
+CFLAGS += -Wall -ggdb -O2
+CFLAGS += -fno-strict-aliasing -ffast-math
+# ugh
+CFLAGS += -I../../libpcsxcore
+
+include ../../config.mak
+
+SRC_STANDALONE += gpu.c
+SRC_GPULIB += gpulib_if.c
+
+ifeq "$(ARCH)" "arm"
+SRC_STANDALONE += draw_fb.c
+else
+SRC_STANDALONE += draw.c
+LDLIBS_STANDALONE += -lX11 -lXv
+endif
+
+BIN_STANDLALONE = gpuPEOPS.so
+BIN_GPULIB = gpu_peops.so
+include ../gpulib/gpulib.mak