From 4132e8ca13b6395f8a9ef7ec7d01cbdcc19c037d Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 20 Apr 2012 02:28:55 +0300 Subject: bring in configure build system not using autotools, trying to do something similar like qemu instead. --- plugins/spunull/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'plugins/spunull/Makefile') 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 -- cgit v1.2.3