#include variables.mk

PROJ_DIR= .
DOC_DIR = $(PROJ_DIR)/doc
DOXYGEN_CONFIG = doxygen.conf

TARGETS = nonossie ossie

.PHONY: clean doc

all: $(TARGETS)
	@echo $(PROJ_DIR)
	@echo Nothing to do for $@ ...

nonossie:
	@echo here $@
	@cd $(PROJ_DIR)/gpp; make all;

ossie:
	@cd $(PROJ_DIR)/gpp_ossie; sudo make;

configure:
	@cd $(PROJ_DIR)/gpp_ossie; make configure;

doc:
	@echo Running Doxygen ...
	@mkdir -p $(DOC_DIR)
	cd $(DOC_DIR); doxygen $(DOXYGEN_CONFIG)

cleanall: clean 
	@cd $(DOC_DIR); rm -rf html latex

clean: 
	@cd $(PROJ_DIR)/gpp; make clean;
	@cd $(PROJ_DIR)/gpp_ossie; make clean;

#include gpp/rules.mk
