changed the way how the library is built

- now there is only one Makefile in the root directory and we have only one pikotools.a lib file
- removed: mainparser
This commit is contained in:
2021-03-17 13:16:01 +01:00
parent 61291cf7ad
commit 5b5a1dfbb6
27 changed files with 77 additions and 801 deletions

View File

@@ -1,27 +0,0 @@
include Makefile.o.dep
libname=utf8.a
all: $(libname)
$(libname): $(o)
$(AR) rcs $(libname) $(o)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) -I.. $<
depend:
makedepend -Y. -I.. -f- *.cpp > Makefile.dep
echo -n "o = " > Makefile.o.dep
ls -1 *.cpp | xargs -I foo echo -n foo " " | sed -E "s/([^\.]*)\.cpp[ ]/\1\.o/g" >> Makefile.o.dep
clean:
rm -f *.o
rm -f $(libname)
include Makefile.dep

View File

@@ -1,9 +0,0 @@
# DO NOT DELETE
utf8_private.o: utf8_private.h ../textstream/textstream.h ../space/space.h
utf8_private.o: ../textstream/types.h ../convert/inttostr.h ../date/date.h
utf8_private.o: ../membuffer/membuffer.h ../textstream/types.h
utf8.o: utf8.h ../textstream/textstream.h ../space/space.h
utf8.o: ../textstream/types.h ../convert/inttostr.h ../date/date.h
utf8.o: ../membuffer/membuffer.h ../textstream/types.h
utf8.o: ../utf8/utf8_templates.h utf8_private.h

View File

@@ -1 +0,0 @@
o = utf8_private.o utf8.o