Skip to content

Commit

Permalink
Remove references to EXTERN_FILES from Makefile
Browse files Browse the repository at this point in the history
custom.mk should be used to add custom build options.
  • Loading branch information
dkeetonx authored Aug 27, 2022
1 parent 0864dbf commit 4886007
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ SPAWNER_OBJS = \
src/spawner/protocol_zero.o \
src/spawner/random_map.o \

EXTERN_OBJS =

ifdef SPAWNER
CFLAGS += -DSPAWNER=1
Expand All @@ -79,11 +78,6 @@ ifdef STATS
SPAWNER_OBJS += src/statistics.o
endif

EXTERN_DIRS = $(shell find src/extern/ -maxdepth 1 -type d)
EXTERN_FILES = $(foreach dir,$(EXTERN_DIRS),$(wildcard $(dir)/Makefile))

-include $(EXTERN_FILES)

ifdef WWDEBUG
NFLAGS += -D WWDEBUG
CFLAGS += -D WWDEBUG
Expand All @@ -109,8 +103,6 @@ DLL_OBJS = src/ares.o \

MO_OBJS = src/mo/rename.o

OBJS += $(EXTERN_OBJS)

PETOOL ?= petool
STRIP ?= strip
NASM ?= nasm
Expand Down

0 comments on commit 4886007

Please sign in to comment.