You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
318 B
19 lines
318 B
4 years ago
|
# Makefile for gtest example
|
||
|
|
||
|
CPPFLAGS = -I /usr/local/include
|
||
|
CXXFLAGS = -c -Wall
|
||
|
LDFLAGS = -L /usr/local/lib -l gtest_main -l gtest -l pthread
|
||
|
|
||
|
TARGET = alltests
|
||
|
OBJECTS = test_stringcompare.o
|
||
|
|
||
|
all: $(TARGET)
|
||
|
|
||
|
$(TARGET): $(OBJECTS)
|
||
|
$(CXX) -o $@ $^ $(LD_FLAGS)
|
||
|
|
||
|
clean:
|
||
|
rm -f $(TARGET) $(OBJECTS)
|
||
|
|
||
|
.PHONY: all clean
|