TARGETS=btree btree_variable btree_delete libbtree.a
CXXFLAGS=-Wall -g
-BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o
+#Descomentar si se quiere agregar informacion para profiling
+PROF=-pg
+
+CXXFLAGS += $(PROF)
+
+BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o random.o
all: $(TARGETS)
btree: main.o $(BTREE_COMMON)
- g++ -o btree main.o $(BTREE_COMMON)
+ g++ $(PROF) -o btree main.o $(BTREE_COMMON)
btree_delete: main_con_delete.o $(BTREE_COMMON)
g++ -o btree_delete main_con_delete.o $(BTREE_COMMON)