diff options
| author | miguel <miguel@localhost> | 2018-03-10 19:00:32 +0100 |
|---|---|---|
| committer | miguel <miguel@localhost> | 2018-03-10 19:00:32 +0100 |
| commit | 700a87f27c4c5d63b8350d37f06410081951addb (patch) | |
| tree | 0bb7fa858936b37391fb93058056346ee4c5755d /Makefile | |
first commit
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 + |
