Skip to content
Snippets Groups Projects
Commit 0542be0d authored by deuce's avatar deuce
Browse files

All demos are built now... ex_vote is built multinode using the magic of

xpdev.
parent bd7b1546
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ endif
#
# Define primary target.
#
all: ${LIBDIR}libODoors${SHLIB} ${LIBDIR}libODoors${STATICLIB} ex_diag ex_hello
all: ${LIBDIR}libODoors${SHLIB} ${LIBDIR}libODoors${STATICLIB} ex_chat ex_diag ex_hello ex_music ex_ski ex_vote
#
#------------------------------------------------------------------------------
#
......@@ -168,5 +168,8 @@ ex_music: ex_music.c ${LIBDIR}libODoors${SHLIB}
ex_ski: ex_ski.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_ski.c -o ex_ski -lODoors
ex_vote: ex_vote.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_vote.c -o ex_vote ../xpdev/filewrap.c -lODoors -DMULTINODE_AWARE
#
#------------------------------------------------------------------------------
......@@ -36,17 +36,15 @@
#include <time.h>
#include <errno.h>
#include <ctype.h>
#ifdef MULTINODE_AWARE
#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <share.h>
#endif
/* Include the OpenDoors header file. This line must be done in any program */
/* using OpenDoors. */
#include "opendoor.h"
#include "OpenDoor.h"
#ifdef MULTINODE_AWARE
#include <filewrap.h>
#endif
#include <genwrap.h>
/* Manifest constants used by Vote */
#define NO_QUESTION -1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment