working on testing the phonebook
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,5 +1,5 @@
|
||||
TARGET := klib.a
|
||||
TESTS := tlv_test
|
||||
TESTS := tlv_test phonebook_test
|
||||
HEADERS := $(wildcard *.h)
|
||||
SOURCES := $(wildcard *.cc)
|
||||
OBJS := Arena.o Phonebook.o TLV.o
|
||||
@@ -19,6 +19,9 @@ $(TARGET): $(OBJS)
|
||||
tlv_test: tlv_test.o $(TARGET)
|
||||
$(CXX) -o $@ $(CXXFLAGS) $@.o $(TARGET)
|
||||
|
||||
phonebook_test: phonebook_test.o $(TARGET)
|
||||
$(CXX) -o $@ $(CXXFLAGS) $@.o $(TARGET)
|
||||
|
||||
.PHONY: print-%
|
||||
print-%: ; @echo '$(subst ','\'',$*=$($*))'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user