mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Makefile: Move the ENet group up into a new section for libraries that are not ours but included in our repository.
git-svn-id: https://svn.eduke32.com/eduke32@6154 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f0be1fb1e2
commit
e00c3a92bd
1 changed files with 29 additions and 28 deletions
57
GNUmakefile
57
GNUmakefile
|
@ -30,6 +30,35 @@ endef
|
|||
|
||||
COMPILERFLAGS += -I$(ENGINE_INC) -I$(MACT_INC) -I$(AUDIOLIB_INC) -I$(ENET_INC)
|
||||
|
||||
##### External Library Definitions
|
||||
|
||||
#### ENet
|
||||
|
||||
ENET=enet
|
||||
|
||||
ENET_OBJS = \
|
||||
callbacks.c \
|
||||
host.c \
|
||||
list.c \
|
||||
packet.c \
|
||||
peer.c \
|
||||
protocol.c \
|
||||
compress.c \
|
||||
|
||||
ENET_ROOT=$(source)/$(ENET)
|
||||
ENET_SRC=$(ENET_ROOT)/src
|
||||
ENET_INC=$(ENET_ROOT)/include
|
||||
ENET_OBJ=$(obj)/$(ENET)
|
||||
|
||||
ENET_CFLAGS=
|
||||
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
ENET_OBJS += win32.c
|
||||
else
|
||||
ENET_OBJS += unix.c
|
||||
ENET_CFLAGS += -DHAS_SOCKLEN_T
|
||||
endif
|
||||
|
||||
|
||||
##### Component Definitions
|
||||
|
||||
|
@ -212,34 +241,6 @@ ifeq ($(MIXERTYPE),SDL)
|
|||
endif
|
||||
|
||||
|
||||
#### ENet
|
||||
|
||||
ENET=enet
|
||||
|
||||
ENET_OBJS = \
|
||||
callbacks.c \
|
||||
host.c \
|
||||
list.c \
|
||||
packet.c \
|
||||
peer.c \
|
||||
protocol.c \
|
||||
compress.c \
|
||||
|
||||
ENET_ROOT=$(source)/$(ENET)
|
||||
ENET_SRC=$(ENET_ROOT)/src
|
||||
ENET_INC=$(ENET_ROOT)/include
|
||||
ENET_OBJ=$(obj)/$(ENET)
|
||||
|
||||
ENET_CFLAGS=
|
||||
|
||||
ifeq ($(PLATFORM),WINDOWS)
|
||||
ENET_OBJS += win32.c
|
||||
else
|
||||
ENET_OBJS += unix.c
|
||||
ENET_CFLAGS += -DHAS_SOCKLEN_T
|
||||
endif
|
||||
|
||||
|
||||
#### Tools
|
||||
|
||||
TOOLS=tools
|
||||
|
|
Loading…
Reference in a new issue