Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

makefile

By: anonymous_infoholic on Apr 18th, 2012  |  syntax: Make  |  size: 0.23 KB  |  hits: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. CC=g++
  2. CFLAGS=-c -Wall
  3.  
  4. program: A.o List.o prog.o
  5.         $(CC) A.o List.o prog.o -o program
  6. prog.o: prog.cpp List.h A.h
  7.         $(CC) $(CFLAGS) prog.cpp
  8. List.o: List.cpp
  9.         $(CC) $(CFLAGS) List.cpp
  10. A.o: A.cpp List.h
  11.         $(CC) $(CFLAGS) A.cpp