From 700a87f27c4c5d63b8350d37f06410081951addb Mon Sep 17 00:00:00 2001 From: miguel Date: Sat, 10 Mar 2018 19:00:32 +0100 Subject: first commit --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..51b3267 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +include config.mk + +.PHONY: rebuild clean install + +surf-webext-dom.so: surf-webext-dom.o + @echo CREATING SHARED LIB + $(CC) -shared -o surf-webext-dom.so surf-webext-dom.o + +surf-webext-dom.o: surf-webext-dom.c + @echo COMPILILNG OBJECT + $(CC) $(CFLAGS) -fPIC -c surf-webext-dom.c + +rebuild: + @echo REBUILDING PROJECT + +install: surf-webext-dom.so + @echo INSTALLING SHARED LIB to $(LIBPREFIX) + cp surf-webext-dom.so $(LIBPREFIX)/ +clean: + @echo CLEANING UP + -rm surf-webext-dom.o + -rm surf-webext-dom.so + -- cgit v1.2.3