diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
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 + |
