+BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o
+
+all: $(TARGETS)
+
+btree: main.o $(BTREE_COMMON)
+ g++ -o btree main.o $(BTREE_COMMON)
+
+btree_delete: main_con_delete.o $(BTREE_COMMON)
+ g++ -o btree_delete main_con_delete.o $(BTREE_COMMON)
+
+btree_variable: main_variable.o $(BTREE_COMMON)
+ g++ -o btree_variable main_variable.o $(BTREE_COMMON)
+
+libbtree.a: $(BTREE_COMMON)
+ $(AR) cru libbtree.a $(BTREE_COMMON)
+
+clean:
+ rm -rf *.o $(TARGETS)