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:
@@ -1,27 +0,0 @@
|
||||
include Makefile.o.dep
|
||||
|
||||
libname=convert.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
|
@@ -1,5 +0,0 @@
|
||||
# DO NOT DELETE
|
||||
|
||||
inttostr.o: inttostr.h
|
||||
misc.o: misc.h text.h
|
||||
text.o: text.h
|
@@ -1 +0,0 @@
|
||||
o = inttostr.o misc.o text.o
|
Reference in New Issue
Block a user