]> git.llucax.com Git - z.facultad/75.52/treemulator.git/blob - src/Makefile
2bcafd625ba327d23a9cd1d82f31765491e13282
[z.facultad/75.52/treemulator.git] / src / Makefile
1 TARGETS=btree btree_variable 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_variable: main_variable.o $(BTREE_COMMON)
12         g++ -o btree_variable main_variable.o $(BTREE_COMMON)
13
14 libbtree.a: $(BTREE_COMMON)
15         $(AR) cru libbtree.a $(BTREE_COMMON)
16
17 clean:
18         rm -rf *.o $(TARGETS)
19
20