Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- prog.exe: main.o student.o node.o list.o
- g++ $(CFLAGS) main.o student.o node.o -o prog.exe
- main.o: main.cpp student.h node.h list.h
- g++ $(CFLAGS) -c main.cpp
- student.o: student.cpp student.h node.h list.h
- g++ $(CFLAGS) -c student.cpp
- node.o: node.cpp node.h student.h list.h
- g++ $(CFLAGS) -c node.cpp
- list.o: list.cpp list.h node.h student.h
- g++ $(CFLAGS) -c list.cpp
- clean:
- rm -rf prog leak.out *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement