Files
tito/Makefile
Tomasz Sowa 0555454dda now tito is using 'pikotools' (utf8)
git-svn-id: svn://ttmath.org/publicrep/tito/src@373 e52654a7-88a9-db11-a3e9-0013d4bc506e
2012-01-12 02:33:05 +00:00

27 lines
400 B
Makefile
Executable File

include Makefile.o.dep
libname=tito.a
all: $(libname)
$(libname): $(o)
ar rcs $(libname) $(o)
%.o: %.cpp
$(CXX) -c $(CXXFLAGS) $<
depend:
makedepend -Y. -I../../pikotools -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