Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 593B

12345678910111213141516171819202122232425262728293031
  1. CXXFLAGS= -Wall -g -std=c++0x
  2. OBJECTS=RedBlackTreeFactory.o br_tree.o br_node.o main.o
  3. EXE=main
  4. all: $(EXE)
  5. $(EXE): $(OBJECTS)
  6. $(CXX) $(CXXFLAGS) $(OBJECTS) -o $@
  7. test: test.cpp RedBlackTreeFactory.o br_node.o
  8. rtest: test
  9. ./test
  10. RedBlackTreeFactory.o: RedBlackTreeFactory.cpp RedBlackTreeFactory.h
  11. br_node.o: br_node.cpp br_node.h
  12. br_tree.o: br_tree.cpp br_tree.h
  13. main.o: main.cpp
  14. run: main
  15. ./main
  16. clean:
  17. @rm -vf *.o
  18. @rm -vf $(EXE)
  19. @rm -vf *.1
  20. @rm -vf *.0
  21. @rm -vf test
  22. @rm -rvf *.dSYM
  23. drun: main
  24. gdb ./main
  25. valgrind: $(EXE)
  26. valgrind --tool=memcheck --leak-check=yes ./$(EXE)