Commit 6aead7b3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Polish

parent 784af0b7
......@@ -119,7 +119,7 @@ CLEANFILES = \
$(GENERATED_H) \
vrt_test \
_vrt_test \
vrt.c
_vrt.c
TESTS = vbm_test vrt_test
......@@ -127,11 +127,11 @@ noinst_PROGRAMS = vbm_test
vbm_test_SOURCES = vbm_test.c vbm.h
vrt.c: Makefile.am vdef.h vrt.h
_vrt.c: Makefile.am vdef.h vrt.h
cat $(srcdir)/vdef.h $(srcdir)/vrt.h > $@
vrt_test: vrt.c
echo "exec ${CC} -c -o _vrt_test vrt.c" > $@
vrt_test: _vrt.c
echo "exec ${CC} -c -o _vrt_test _vrt.c" > $@
chmod +x $@
test: ${TESTS}
......
......@@ -36,6 +36,10 @@
#endif
#define VRT_H_INCLUDED
#ifndef VDEF_H_INCLUDED
# error "include vdef.h before vrt.h"
#endif
/***********************************************************************
* Major and minor VRT API versions.
*
......@@ -75,13 +79,6 @@
#define VRT_MINOR_VERSION 1U
/***********************************************************************/
#ifndef VDEF_H_INCLUDED
# error "include vdef.h before vrt.h"
#endif
/***********************************************************************/
struct VCL_conf;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment