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=date.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,3 +0,0 @@
|
||||
# DO NOT DELETE
|
||||
|
||||
date.o: date.h ../convert/inttostr.h
|
@@ -1 +0,0 @@
|
||||
o = date.o
|
Reference in New Issue
Block a user