| | |
| | | CC=gcc |
| | | CXX=g++ |
| | | CXXFLAGS=-g -Wall -std=c++20 |
| | | |
| | | .PHONY: default all |
| | | default: all |
| | | |
| | | all: exec |
| | | |
| | | exec: main.o book.o |
| | | ${CXX} -o $@ $^ |
| | | |
| | | %: %.cpp %.hpp |
| | | ${CXX} ${CXXFLAGS} -o $@ $^ |
| | | CXXFLAGS=-g -Wall -static |
| | | #LDFLAGS=-rpath=/lib64/libstdc++.so.6 |
| | | |
| | | |
| | | json=json.o |
| | | ws=easywsclient/easywsclient.o |
| | | main=${json} ${ws} protocol.o book.o |
| | | |
| | | default: test click bot |
| | | |
| | | test: test.o strat.o ${main} |
| | | ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ $^ |
| | | |
| | | click: click.o ${main} |
| | | ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ $^ |
| | | |
| | | bot: bot.o strat.o ${main} |
| | | ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ $^ |
| | | |
| | | %.o: %.cpp |
| | | ${CXX} ${CXXFLAGS} -c -o $@ $^ |
| | | |
| | | .PHONY: clean |
| | | clean: |
| | | rm -f ${main} test click bot |