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:
parent
88cf377659
commit
7d99861752
3
Makefile
3
Makefile
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue