Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Define the list of files
- OBJECTS = driver.o insert.o print.o chain.o plan.o
- INCLUDES = cs2123p6.h
- # Rules for building each .o file
- %.o: %.c ${INCLUDES}
- gcc -g -c $<
- #Rule for building executable file
- p6: ${OBJECTS}
- gcc -g -o p6 ${OBJECTS}
- clean:
- rm -f ${OBJECTS}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement