add support for checking sizes of different types through configure and dynamically generating include/FLAC/ordinals.h
diff --git a/build/exe.mk b/build/exe.mk
index 18e6e8f..20f087b 100644
--- a/build/exe.mk
+++ b/build/exe.mk
@@ -30,13 +30,15 @@
all : release
-debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W -DVERSION=\"1.0devel\" $(DEFINES) $(INCLUDES)
-release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W -DVERSION=\"1.0devel\" $(DEFINES) $(INCLUDES)
+include ../../build/config.mk
+
+debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
+release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES)
LFLAGS = -L$(LIBPATH)
-debug : $(PROGRAM)
-release : $(PROGRAM)
+debug : $(ORDINALS_H) $(PROGRAM)
+release : $(ORDINALS_H) $(PROGRAM)
$(PROGRAM) : $(OBJS)
$(LINK) -o $@ $(OBJS) $(LFLAGS) $(LIBS)