<commit_before>#
# GNU Makefile:  TerrainApps/VTBuilder
#

#------------------------------------------------------------------------------
# You shouldn't need to tweak below this line
#------------------------------------------------------------------------------

VTP_ROOT = $(shell cd ../..; pwd)

include $(VTP_ROOT)/TerrainApps/Make.defs

IFLAGS = $(shell wx-config --cflags) \
	  -I$(TERRAIN_SDK_DIR)       \
	  -I$(TERRAIN_APPS_DIR)/VTBuilder/bitmaps \
	  -I$(TERRAIN_APPS_DIR)/VTBuilder/icons

LDIRS  = \
	  $(VTDATA_INST_DIR)             \
	  $(SHAPE_LIB)                   \
	  $(PNG_LIB)                     \
	  $(NETCDF_LIB)                  \
	  $(X_LIB)                       \
	  $(EXTRA_LDIRS)

SWITCHES := $(SWITCHES) -DUNIX
CFLAGS   = $(COPT) $(SWITCHES) $(IFLAGS)
CXXFLAGS = $(COPT) $(SWITCHES) $(IFLAGS)
LDFLAGS  = $(LDIRFLAGS) \
	   $(EXTRA_LDFLAGS)

CXXSRC = $(filter-out pre.cpp, $(wildcard *.cpp))
OBJS   = $(CXXSRC:%.cpp=%.o)
EXEC   = VTBuilder
LIBS   = $(shell wx-config --libs)     \
	  -lwx_gtk_gl                      \
	  -lgdal.1.1 -lvtdata              \
	  -lxmlhelper					   \
	  -lnetcdf                         \
	  -lX11 $(EXTRA_LIBS) -lm 

all : $(EXEC)

$(EXEC) : $(OBJS)
	$(LD) -o $(EXEC) $(LDFLAGS) $(OBJS) $(LIBS)

clean :
	rm -rf $(OBJS) $(EXEC).core core ii_files wx/ii_files

clobber :
	rm -rf $(OBJS) $(EXEC).core core ii_files wx/ii_files $(EXEC) $(EXEC).pure<commit_msg>added OpenGL (needed because of wx, not because of direct use)<commit_after>#
# GNU Makefile:  TerrainApps/VTBuilder
#

#------------------------------------------------------------------------------
# You shouldn't need to tweak below this line
#------------------------------------------------------------------------------

VTP_ROOT = $(shell cd ../..; pwd)

include $(VTP_ROOT)/TerrainApps/Make.defs

IFLAGS = $(shell wx-config --cflags) \
	  -I$(TERRAIN_SDK_DIR)       \
	  -I$(TERRAIN_APPS_DIR)/VTBuilder/bitmaps \
	  -I$(TERRAIN_APPS_DIR)/VTBuilder/icons

LDIRS  = \
	  $(VTDATA_INST_DIR)             \
	  $(SHAPE_LIB)                   \
	  $(PNG_LIB)                     \
	  $(NETCDF_LIB)                  \
	  $(X_LIB)                       \
	  $(EXTRA_LDIRS)

SWITCHES := $(SWITCHES) -DUNIX
CFLAGS   = $(COPT) $(SWITCHES) $(IFLAGS)
CXXFLAGS = $(COPT) $(SWITCHES) $(IFLAGS)
LDFLAGS  = $(LDIRFLAGS) \
	   $(EXTRA_LDFLAGS)

CXXSRC = $(filter-out pre.cpp, $(wildcard *.cpp))
OBJS   = $(CXXSRC:%.cpp=%.o)
EXEC   = VTBuilder
LIBS   = $(shell wx-config --libs)     \
	  -lwx_gtk_gl                      \
	  -lgdal.1.1 -lvtdata              \
	  -lxmlhelper					   \
	  -lnetcdf                         \
	  -lGL -lX11 $(EXTRA_LIBS) -lm 

all : $(EXEC)

$(EXEC) : $(OBJS)
	$(LD) -o $(EXEC) $(LDFLAGS) $(OBJS) $(LIBS)

clean :
	rm -rf $(OBJS) $(EXEC).core core ii_files wx/ii_files

clobber :
	rm -rf $(OBJS) $(EXEC).core core ii_files wx/ii_files $(EXEC) $(EXEC).pure
{'fraction_non_alphanumeric': 0.2572614107883817, 'fraction_numerical': 0.0027662517289073307, 'mean_word_length': 1.4579439252336448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4986185', 'n_tokens_mistral': 1113, 'n_tokens_neox': 1024, 'n_words': 200}