Makefile 257 B

12345678910111213141516
  1. CC=gcc
  2. all: encrypt caesar decrypt
  3. clean:
  4. rm caesar; rm encrypt.o; rm decrypt;
  5. encrypt: encrypt.c
  6. $(CC) -c encrypt.c -Wall
  7. caesar: caesar.c encrypt
  8. $(CC) -o caesar caesar.c encrypt.o
  9. decrypt: decrypt.c encrypt
  10. $(CC) -o decrypt decrypt.c encrypt.o