$(staticlib): $(obs) fversion.hh
$(AR) cr libflower.a $(obs)
-include depend
+include deps/*.dep
+
+deps/*.dep:
+ touch deps/dummy.dep
depend: Sources.make
$(CXX) $(CXXFLAGS) -MM $(cc) > depend
+
+$(OBJECTDIR)/%.o: $(CCDIR)/%.cc
+ $(DODEP)\
+ $(CXX) -c $(CXXFLAGS) $(OUTPUT_OPTION)
+
+
clean:
rm -f $(obs) $(staticlib) fversion.hh
dist:
-mkdir $(DDIR)
ln $(DFILES) $(DDIR)/
- tar cfz $(DNAME).tar.gz $(DDIR)/*
+ -for SUBDIR in $(SUBDIRS); \
+ do mkdir $(DDIR)/$$SUBDIR; \
+ $(MAKE) SUBDIR=$$SUBDIR -C $$SUBDIR dist;\
+ done
+ tar cfz $(DNAME).tar.gz $(DNAME)/
rm -rf $(DDIR)/
TAGS: $(ALLSOURCES)
etags -CT $(inl) $(cc) $(hh)
+
+
+test: stringtest
+
+stringtest: $(OBJECTDIR)/stringtest.o
+ g++ -o $@ $< -L. -lflower
\ No newline at end of file
- * disable: const pointer->bool->string
+ * shared lib.
+
+ * integrate Make mechanisms of flower & lily
+
+ * disable this auto conv: const pointer -> bool -> string
* PointerVec ?
* extend Interval
- * change String::pos
-
- s[s.pos('%')] == '%'
-
- would be nice
-
* use template handle in handle.hh for strings.
* move towards gnu or STL?