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 # ./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