File: Makefile

package info (click to toggle)
fff 1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,968 kB
  • sloc: cpp: 18,525; ansic: 6,971; ruby: 534; makefile: 223; sh: 17
file content (22 lines) | stat: -rw-r--r-- 469 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

BUILD_DIR = ../build
LIBS := -lpthread
CPP_OBJS=$(BUILD_DIR)/gtest-all.o $(BUILD_DIR)/gtest-main.o

SOURCES=gtest-all.cc gtest-main.cc


# Each subdirectory must supply rules for building sources it contributes
$(BUILD_DIR)/%.o: %.cc
	@echo 'Building file: $<'
	@echo 'Invoking: GCC C++ Compiler'
	g++ -I../ -O0 -g3 -Wall -DGTEST_USE_OWN_TR1_TUPLE=1 -c -o "$@" "$<"
	@echo 'Finished building: $<'
	@echo ' '

all: $(CPP_OBJS)

clean:
	-$(RM) $(CPP_OBJS) 
	-@echo ' '