The map::at method does not always exist, so instead use map::find.
[cumulus.git] / Makefile
index 327db1e..bf6561c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,11 +13,11 @@ cumulus : $(OBJS)
        $(CXX) $(LDFLAGS) -o $@ $^
 
 version : NEWS
-       (git-describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
+       (git describe || (head -n1 NEWS | cut -d" " -f1)) >version 2>/dev/null
 $(OBJS) : version
 
 clean :
-       rm -f $(OBJS) lbs version
+       rm -f $(OBJS) cumulus version
 
 dep :
        touch Makefile.dep