Skip to content
Snippets Groups Projects
Commit 03663ad0 authored by deuce's avatar deuce
Browse files

Build ex_diag by default

parent a1a7be98
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ LD := ld ...@@ -52,7 +52,7 @@ LD := ld
# #
# Compiler command-line flags. # Compiler command-line flags.
# #
CFLAGS += -O2 -g -L. CFLAGS += -O2 -g -L. -I../xpdev
# /MTd /Zi - for debug # /MTd /Zi - for debug
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -85,7 +85,7 @@ endif ...@@ -85,7 +85,7 @@ endif
# #
# Define primary target. # Define primary target.
# #
all: ${LIBDIR}libODoors${SHLIB} ${LIBDIR}libODoors${STATICLIB} all: ${LIBDIR}libODoors${SHLIB} ${LIBDIR}libODoors${STATICLIB} ex_diag
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# #
...@@ -156,5 +156,8 @@ ${LIBDIR}libODoors${STATICLIB} : ${OBJECTS} ...@@ -156,5 +156,8 @@ ${LIBDIR}libODoors${STATICLIB} : ${OBJECTS}
ex_chat: ex_chat.c ${LIBDIR}libODoors${SHLIB} ex_chat: ex_chat.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_chat.c -o ex_chat -lODoors $(CC) $(CFLAGS) ex_chat.c -o ex_chat -lODoors
ex_diag: ex_diag.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_diag.c -o ex_diag -lODoors
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "opendoor.h" #include "OpenDoor.h"
#include <genwrap.h>
typedef enum typedef enum
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment