Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.62 KB | None | 0 0
  1. CFLAGS = -g -W -Wall -Wextra -Wunused -Wcast-align -Werror -pedantic -pedantic-errors -fstack-protector-all -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wcast-align -Wno-format -Wno-long-long -Wmissing-declarations
  2. prog.exe: main.o student.o node.o list.o
  3.     g++ $(CFLAGS) main.o student.o node.o -o prog.exe
  4. main.o: main.cpp student.h node.h list.h
  5.     g++ $(CFLAGS) -c main.cpp
  6. student.o: student.cpp student.h node.h list.h
  7.     g++ $(CFLAGS) -c student.cpp
  8. node.o: node.cpp node.h student.h list.h
  9.     g++ $(CFLAGS) -c node.cpp
  10. list.o: list.cpp list.h node.h student.h
  11.     g++ $(CFLAGS) -c list.cpp
  12. clean:
  13.     rm -rf prog leak.out *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement