Advertisement
Guest User

Makefile

a guest
Oct 16th, 2013
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.29 KB | None | 0 0
  1. GCC = g++
  2. FLAGS = -g
  3.  
  4. all: cipher decipher
  5.  
  6. cipher: main.o cipher.o
  7.     $(GCC) $(FLAGS) main.o cipher.o -o cipher
  8.  
  9. decipher: main.o cipher.o
  10.     $(GCC) $(FLAGS) main.o cipher.o -o decipher
  11.  
  12. cipher.o: cipher.cpp
  13.     $(GCC) $(FLAGS) -c cipher.cpp
  14.  
  15. main.o: main.cpp
  16.     $(GCC) $(FLAGS) -c main.cpp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement