/trunk/dq/dqo/Makefile |
---|
0,0 → 1,18 |
OBJS=main.o \ |
deepqube.o \ |
qube.o \ |
unit.o |
dq: $(OBJS) |
$(CXX) -o dq $(OBJS) |
.cpp.o: |
$(CXX) -c $< |
clean: |
rm -f *.o |
rm -f dq |
/trunk/dq/dqo/unit.cpp |
---|
2,8 → 2,8 |
#include "unit.h" |
#include "qube.h" |
#include <cstdio> |
/** |
* @brief Fire the unit |
* @param q the qube this unit belongs to |
/trunk/dq/dqo/unit.h |
---|
2,6 → 2,8 |
#define UNIT_H_ |
#include <cstdlib> |
#include <cstdio> |
#include <mutex> |