X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=plugins%2Fspunull%2FMakefile;h=eb81cab3366ed5ff3f5ee2a290bffa30f4d82529;hb=1f219c7b8a6f2b7a70f595ccdfe419ea034c9411;hp=7371522597a54041c78e06d81afe03221f89c50f;hpb=ee78346e30720ddb3f4c97b6598bdc6dc7257f98;p=pcsx_rearmed.git diff --git a/plugins/spunull/Makefile b/plugins/spunull/Makefile index 73715225..eb81cab3 100644 --- a/plugins/spunull/Makefile +++ b/plugins/spunull/Makefile @@ -1,9 +1,13 @@ -CC = $(CROSS_COMPILE)gcc +all: ../../config.mak spunull.so -all: spunull.so +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