Modified makefile to fix a bug

This commit is contained in:
tobast 2013-02-06 21:10:57 +01:00
parent e7dd66117c
commit 06fe920d4c

View file

@ -26,13 +26,13 @@ checkdevcode:
# ./pastebincl --usergen < userinput &> /dev/null
$(TARGET): $(OBJS)
$(CXX) $(CXXLIBS) $^ $(CXXFLAGS) -o $@
$(CXX) $^ $(CXXFLAGS) $(CXXLIBS) -o $@
ConfigRead.o: ConfigRead.cpp
$(CXX) $(CXXLIBS) -c $< $(CXXFLAGS) -o $@ -DENCODING_KEY=\"${ENC_KEY}\"
$(CXX) -c $< $(CXXFLAGS) $(CXXLIBS) -o $@ -DENCODING_KEY=\"${ENC_KEY}\"
%.o: %.cpp
$(CXX) $(CXXLIBS) -c $< $(CXXFLAGS) -o $@
$(CXX) -c $< $(CXXLIBS) $(CXXFLAGS) -o $@
install:
cp $(TARGET) /usr/bin