title: GCC and Crypto++ on makefile
body: <p>I'm trying to compile C++ project with gcc-make command but program giving this error. I already compiled Crypto++ and added include and lib folder but I dont know how to add this dir to gcc.</p>
  
  <p>What should I do for fixing this "-lcrytopp" error?</p>
  
  <p>I'm using makefile and this is line of 33-34.</p>
  
  <pre><code>$(TARGET): build $(OBJECTS)
      $(CC) $(OBJECTS) -o $(TARGET) -lcryptopp
  </code></pre>
  
  <p><strong>Error</strong>:</p>
  
  <pre><code>D:\Osman\CnC RA2\Mix\ccmix-crypto\ccmix-crypto&gt;make
  g++ src/mix_db_gamedb.o src/mix_db_gmd.o src/mix_header.o src/mix_db_lmd.o
  src/mixid.o src/ccmix.o src/mix_file.o -o build/ccmix -lcryptopp
  c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32
  /bin/ld.exe: cannot find -lcryptopp
  collect2.exe: error: ld returned 1 exit status
  Makefile:34: recipe for target 'build/ccmix' failed
  make: *** [build/ccmix] Error 1
  </code></pre>
  
  <hr>
  
  <p>Crypto++ directory:</p>
  
  <p><a href="https://i.stack.imgur.com/VVFyj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VVFyj.png" alt="enter image description here"></a></p>
  
  <p>Compile error:</p>
  
  <p><a href="https://i.stack.imgur.com/78Oo1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/78Oo1.png" alt="enter image description here"></a></p>