]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - src/Makefile
Agrego test de borrado de una hoja.
[z.facultad/75.52/treemulator.git] / src / Makefile
1 TARGETS=btree btree_variable btree_delete libbtree.a
2 CXXFLAGS=-Wall -g
3
4 BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o
5
6 all: $(TARGETS)
7
8 btree: main.o $(BTREE_COMMON)
9         g++ -o btree main.o $(BTREE_COMMON)
10
11 btree_delete: main_con_delete.o $(BTREE_COMMON)
12         g++ -o btree_delete main_con_delete.o $(BTREE_COMMON)
13
14 btree_variable: main_variable.o $(BTREE_COMMON)
15         g++ -o btree_variable main_variable.o $(BTREE_COMMON)
16
17 libbtree.a: $(BTREE_COMMON)
18         $(AR) cru libbtree.a $(BTREE_COMMON)
19
20 clean:
21         rm -rf *.o $(TARGETS)
22
23