Removed references to version.h

git-svn-id: http://picoc.googlecode.com/svn/trunk@538 21eae674-98b7-11dd-bd71-f92a316d2d60
This commit is contained in:
zik.saleeba 2011-02-15 21:47:54 +00:00
parent 88cf377659
commit 7d99861752
2 changed files with 5 additions and 3 deletions

View file

@ -20,7 +20,7 @@ test: all
(cd tests; make test)
clean:
rm -f $(TARGET) $(OBJS) version.h *~
rm -f $(TARGET) $(OBJS) *~
count:
@echo "Core:"
@ -30,7 +30,6 @@ count:
@cat $(SRCS) *.h */*.h | wc
depend:
touch version.h
$(CC) -MM $(SRCS) >.depend
.PHONY: clibrary.c

View file

@ -1,8 +1,11 @@
#include "picoc.h"
#include "version.h"
/* the picoc version string */
#ifdef VER
#define PICOC_VERSION "v2.1 beta r" VER /* VER is the subversion version number, obtained via the Makefile */
#else
#define PICOC_VERSION "v2.1 beta"
#endif
static const char *VersionString = NULL;
/* endian-ness checking */