X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fspunull%2FMakefile;h=eb81cab3366ed5ff3f5ee2a290bffa30f4d82529;hp=f9b76ed961e732f5b4cec5b740e306bc8f93854f;hb=4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d;hpb=4a35de071887026bb6dcd6b852738a1866959df7 diff --git a/plugins/spunull/Makefile b/plugins/spunull/Makefile index f9b76ed9..eb81cab3 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