]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - src/Makefile
80c23913272921393734f1c32f0f6e676e96af54
[z.facultad/75.52/treemulator.git] / src / Makefile
1 TARGETS=btree libbtree.a
2 CXXFLAGS=-Wall -g
3
4 #Descomentar si se quiere agregar informacion para profiling
5 PROF=-pg
6
7 CXXFLAGS += $(PROF)
8
9 BTREE_COMMON=btree.o clave_fija.o btree_data.o clave_variable.o random.o
10
11 all: $(TARGETS)
12
13 btree: main.o $(BTREE_COMMON)
14         g++ $(PROF) -o btree main.o $(BTREE_COMMON)
15
16 libbtree.a: $(BTREE_COMMON)
17         $(AR) cru libbtree.a $(BTREE_COMMON)
18
19 clean:
20         rm -rf *.o $(TARGETS)
21
22