INSTALL_PREFIX = /usr/local
src:
- cd src && make && cd ..
+ cd src && $(MAKE) && cd ..
test:
- cd test && make && cd ..
+ cd test && $(MAKE) && cd ..
doc:
- cd doc && make && cd ..
+ cd doc && $(MAKE) && cd ..
clean:
- cd src && make clean && cd ..
- cd test && make clean && cd ..
- cd doc && make clean && cd ..
+ cd src && $(MAKE) clean && cd ..
+ cd test && $(MAKE) clean && cd ..
+ cd doc && $(MAKE) clean && cd ..
install:
# if [ ! -e src/obj/libcds.so ]; then make src; fi
void* _queue_peek(Queue* queue)
{
- return vector_get(queue->array, 0);
+ return _vector_get(queue->array, 0);
}
void queue_pop(Queue* queue)