| 1234567891011121314151617181920212223242526272829303132333435363738 |
- CC=g++
- DEV=-Wall -g -std=c++14
- OPT=-O3 -std=c++14
- JSON=json.hpp
- .PHONY: all
- all: AVLSanityCheck buildTree
- ##### TESTING #####
- #all: AVLSanityCheck buildTree CreateData
- #CreateData: CreateData.cxx json.hpp
- # $(CC) $(OPT) CreateData.cxx -o CreateData.exe
- #AVLSanityCheck: AVLSanityCheck.cxx AVLCommands.o
- # $(CC) $(DEV) AVLSanityCheck.cxx AVLCommands.o -o AVLSanityCheck.exe
- ###################
- buildTree: buildTree.cxx AVLCommands.o
- $(CC) $(DEV) buildTree.cxx AVLCommands.o -o buildTree.exe
- AVLCommands.o: AVLCommands.cpp AVLCommands.h
- $(CC) $(DEV) -c AVLCommands.cpp
- # Build
- .PHONY: clean
- clean:
- rm -f *.o
- rm -f *.exe
- rm -f *.h.gch
- rm -rf *dSYM
- .PHONY: update
- update:
- make clean
- make all
|