Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
a584a6ddeThis file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
#CPP_FILES="gbr2ngc.cpp gbr2ngc_debug.cpp gbr2ngc_export.cpp gbr2ngc_construct.cpp gbr2ngc_offset.cpp gbr2ngc_aperture.cpp gbr2ngc_globals.cpp"
CPP_FILES="gbr2ngc.cpp gbr2ngc_aperture.cpp gbr2ngc_globals.cpp gbr2ngc_construct.cpp gbr2ngc_export.cpp "
OBJ_FILES="gerber_interpreter.o tesexpr.o string_ll.o"
gcc -g gerber_interpreter.c gerber_interpreter_aperture_macro.c tesexpr.c string_ll.c -c -lm
#gcc -g test_gerber_interpreter.c $OBJ_FILES -o test_gerber_interpreter -lm
#gcc -O3 gerber_interpreter.c tesexpr.c string_ll.c -c -lm
#gcc -O3 test_gerber_interpreter.c $OBJ_FILES -o test_gerber_interpreter -lm
#g++ -O2 -o gbr2ngc $CPP_FILES gerber_interpreter.o -I./cpp -L. -L./cpp -lpolyclipping -lstdc++ -lboost_thread
#g++ -Wall -O2 -o gbr2ngc $CPP_FILES $OBJ_FILES clipper.cpp -lstdc++ -lboost_thread -lm
#g++ -std=c++11 -Wall -O2 -o gbr2ngc $CPP_FILES $OBJ_FILES clipper.cpp -lstdc++ -lboost_thread -lm
g++ -std=c++11 -g -o gbr2ngc $CPP_FILES $OBJ_FILES clipper.cpp -lstdc++ -lboost_thread -lm
g++ -std=c++11 -g -o gbr2ngc_debug $CPP_FILES $OBJ_FILES clipper.cpp -lstdc++ -lboost_thread -lm