aboutsummaryrefslogtreecommitdiff
path: root/plugins/spunull/Makefile
diff options
context:
space:
mode:
authornotaz2012-04-20 02:28:55 +0300
committernotaz2012-04-22 01:58:03 +0300
commit4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d (patch)
treeca9037636932b6e3914e9c98c7c3da9a83796686 /plugins/spunull/Makefile
parent4a35de071887026bb6dcd6b852738a1866959df7 (diff)
downloadpcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.tar.gz
pcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.tar.bz2
pcsx_rearmed-4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d.zip
bring in configure build system
not using autotools, trying to do something similar like qemu instead.
Diffstat (limited to 'plugins/spunull/Makefile')
-rw-r--r--plugins/spunull/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/spunull/Makefile b/plugins/spunull/Makefile
index f9b76ed..eb81cab 100644
--- a/plugins/spunull/Makefile
+++ b/plugins/spunull/Makefile
@@ -1,11 +1,13 @@
-CC = $(CROSS_COMPILE)gcc
+all: ../../config.mak spunull.so
-all: spunull.so
-
--include Makefile.local
+include ../../config.mak
spunull.so: spunull.c
$(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^
clean:
$(RM) spunull.so
+
+../../config.mak:
+ @echo "Please run ./configure before running make!"
+ @exit 1