aboutsummaryrefslogtreecommitdiff
path: root/plugins/spunull
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/spunull')
-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