Skip to content
Snippets Groups Projects
Commit 9dfcb987 authored by deuce's avatar deuce
Browse files

Added target for useless ex_chat example.

parent c53495af
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@ LD := ld
#
# Compiler command-line flags.
#
CFLAGS += -O2 -g
CFLAGS += -O2 -g -L.
# /MTd /Zi - for debug
#
#------------------------------------------------------------------------------
......@@ -146,11 +146,15 @@ OBJECTS := ${OBJDIR}ODAuto${OBJFILE}\
# ${OBJDIR}odsys${OBJFILE}\ this file is missing
${LIBDIR}libODoors${SHLIB} : ${OBJECTS}
gcc -shared -o ${LIBDIR}libODoors${SHLIB}.6.2 ${OBJECTS}
$(CC) $(CFLAGS) -shared -o ${LIBDIR}libODoors${SHLIB}.6.2 ${OBJECTS}
ln -fs ${LIBDIR}libODoors${SHLIB}.6.2 ${LIBDIR}libODoors${SHLIB}
${LIBDIR}libODoors${STATICLIB} : ${OBJECTS}
ar -r ${LIBDIR}libODoors${STATICLIB} ${OBJECTS}
ranlib ${LIBDIR}libODoors${STATICLIB}
ex_chat: ex_chat.c ${LIBDIR}libODoors${SHLIB}
$(CC) $(CFLAGS) ex_chat.c -o ex_chat -lODoors
#
#------------------------------------------------------------------------------
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment