Skip to content
Snippets Groups Projects
Commit 47bf63a5 authored by simon.fanetti's avatar simon.fanetti
Browse files

adapt make setup

parent c314c52b
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ CCP=g++
all: app
app: app.o
$(CCP) $^ -o $@ -L$(API_PATH) -lsandbox $(DEP_SANDBOX)
$(CCP) $^ -o $@ -L$(API_PATH)/build -lsandbox $(DEP_SANDBOX)
%.o: %.cpp
$(CCP) $(CFLAGS) -I$(API_PATH)/inc -c $< -o $@
......@@ -16,7 +16,7 @@ run:
./app
setup:
$(API_PATH)/app/SandboxSetupApp
$(API_PATH)/app/SandboxSetup/SandboxSetup
clean:
rm -f *.o app
#include "../ar_sandbox_lib/sandbox.h"
#include "../ar_sandbox_lib/inc/sandbox.h"
#include <numeric>
#include <fstream>
#include <string>
......@@ -23,12 +23,13 @@ void (*apps[2])() = {showLevel, showDiff};
int main(int argc, char *argv[])
{
if(client.loadConfig()){
std::cout << "Failed to load the configuration" << std::endl;
return 1;
}
showLevel();
//showLevel();
/*cout << "Press: \n 0: Show level \n 1: Show difference \n";
int n = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment