Guest User

Untitled

a guest
Jul 13th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.26 KB | None | 0 0
  1. # Make file for dataSet.
  2.  
  3. OBJS = main.o
  4. CC  = g++
  5.  
  6. all: main
  7.  
  8. main: $(OBJS)
  9.     $(CC) -o main $(OBJS)
  10.  
  11. main.o: main.cpp dataSet.h
  12.     $(CC) -c main.cpp
  13.  
  14. # -----
  15. # clean by removing object files.
  16. # Note, 'rm' for unix, 'del' for Windows
  17. clean:
  18.     rm  $(OBJS)
Add Comment
Please, Sign In to add comment