Modified makefile to fix a bug
This commit is contained in:
parent
e7dd66117c
commit
06fe920d4c
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -26,13 +26,13 @@ checkdevcode:
|
||||||
# ./pastebincl --usergen < userinput &> /dev/null
|
# ./pastebincl --usergen < userinput &> /dev/null
|
||||||
|
|
||||||
$(TARGET): $(OBJS)
|
$(TARGET): $(OBJS)
|
||||||
$(CXX) $(CXXLIBS) $^ $(CXXFLAGS) -o $@
|
$(CXX) $^ $(CXXFLAGS) $(CXXLIBS) -o $@
|
||||||
|
|
||||||
ConfigRead.o: ConfigRead.cpp
|
ConfigRead.o: ConfigRead.cpp
|
||||||
$(CXX) $(CXXLIBS) -c $< $(CXXFLAGS) -o $@ -DENCODING_KEY=\"${ENC_KEY}\"
|
$(CXX) -c $< $(CXXFLAGS) $(CXXLIBS) -o $@ -DENCODING_KEY=\"${ENC_KEY}\"
|
||||||
|
|
||||||
%.o: %.cpp
|
%.o: %.cpp
|
||||||
$(CXX) $(CXXLIBS) -c $< $(CXXFLAGS) -o $@
|
$(CXX) -c $< $(CXXLIBS) $(CXXFLAGS) -o $@
|
||||||
|
|
||||||
install:
|
install:
|
||||||
cp $(TARGET) /usr/bin
|
cp $(TARGET) /usr/bin
|
||||||
|
|
Loading…
Reference in a new issue