Fix to Makefile
This commit is contained in:
parent
c99a2dceb0
commit
f05103d871
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -21,7 +21,7 @@ OBJECTS = $(addprefix ${OBJDIR}/,$(patsubst %.cpp,%.cpp.o,${SOURCES}))
|
||||||
all: KoreanNumbers
|
all: KoreanNumbers
|
||||||
|
|
||||||
KoreanNumbers: ${OBJECTS}
|
KoreanNumbers: ${OBJECTS}
|
||||||
$(CXX) $(CXXFLAGS) -o KoreanNumbers $^
|
$(CXX) $(CXXFLAGS) -fPIE -pie -o KoreanNumbers $^
|
||||||
|
|
||||||
${OBJDIR}/%.cpp.o: %.cpp
|
${OBJDIR}/%.cpp.o: %.cpp
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
|
|
Loading…
Reference in a new issue