2 # Opciones para el compilador C++.
3 CXXFLAGS = -Wall -ansi -pedantic
6 CXXFLAGS += -ggdb -DDEBUG -fno-inline
8 CXXFLAGS += -O2 -DNDEBUG
11 all: hashtable_test heap_test
13 hashtable_test.o: ../src/persona.h ../src/hashtable.h hashtable_test.cpp
15 hashtable_test: hashtable_test.o ../src/persona.o
16 $(CXX) $(LDFLAGS) hashtable_test.o ../src/persona.o $(LOADLIBES) $(LDLIBS) -o hashtable_test
18 heap_test.o: ../src/heap.h heap_test.cpp
20 heap_test: ../src/heap.h heap_test.o
21 $(CXX) $(LDFLAGS) heap_test.o $(LOADLIBES) $(LDLIBS) -o heap_test
29 @$(RM) -fv *.o heap_test hashtable_test