Skip to content

Commit

Permalink
Appease MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshDreamland committed Dec 16, 2018
1 parent ac0f410 commit f83d57c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CompilerSource/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ endif

CXX := g++
CXXFLAGS += -std=c++11 -Wall -O3 -g -I./JDI/src
LDFLAGS += -shared -O3 -g -L../ -lProtocols -lprotobuf
LDFLAGS += -shared -O3 -g -L../ -Wl,-rpath=./
LDLIBS += -lProtocols -lprotobuf

# This implements a recursive wildcard allowing us to iterate in subdirs
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
Expand All @@ -48,7 +49,6 @@ DEPENDS += $(addprefix .eobjs/shared/,$(SHARED_SOURCES:.cpp=.d))
# sort has the nice side effect of removing duplicates. this may or may not be faster.
OBJDIRS := $(sort $(dir $(OBJECTS)))
override CPPFLAGS += -I.
override LDFLAGS += -Wl,-rpath=./

############
# building #
Expand Down

0 comments on commit f83d57c

Please sign in to comment.