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:
hendricks266 2017-06-09 06:39:04 +00:00
parent f0be1fb1e2
commit e00c3a92bd

View file

@ -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