summaryrefslogtreecommitdiffhomepage
path: root/libcommon/Makefile
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-03 09:31:51 +0100
commit2b6f8123e925e3be8ce7c04eccdd49fc728314a5 (patch)
tree78e86bb428b3bc821ae84d0f6abe86136356bd1a /libcommon/Makefile
parent5581340f23b31114d33736c630de849898668f38 (diff)
Separated out libcommon as libreichwein
Diffstat (limited to 'libcommon/Makefile')
-rw-r--r--libcommon/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/libcommon/Makefile b/libcommon/Makefile
deleted file mode 100644
index ddff9fc..0000000
--- a/libcommon/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-# Static library to be included both in main program an in plugins (.so)
-
-include ../common.mk
-
-PROJECTNAME=libcommon
-
-CXXFLAGS+= -fvisibility=hidden -fPIC
-
-PROGSRC=\
- file.cpp \
- mime.cpp \
- stringutil.cpp \
- tempfile.cpp \
- url.cpp
-
-SRC=$(PROGSRC)
-
-all: $(PROJECTNAME).a
-
-$(PROJECTNAME).a: $(SRC:.cpp=.o)
- ar rcs $@ $^
-
-%.d: %.cpp
- $(CXX) $(CXXFLAGS) -MM -MP -MF $@ -c $<
-
-%.o: %.cpp %.d
- $(CXX) $(CXXFLAGS) -c $< -o $@
-
-# dependencies
-
-ADD_DEP=Makefile
-
-# misc ---------------------------------------------------
-clean:
- -rm -f *.o *.a *.d
-
-.PHONY: clean all install
-
--include $(wildcard $(SRC:.cpp=.d))