-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsubdir.mk
45 lines (37 loc) · 1.22 KB
/
subdir.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
LOCAL_CPP_SRCS = \
../Agent.cpp \
../Components.cpp \
../Configuration.cpp \
../Inventory.cpp \
../Logger.cpp \
../NetworkInterface.cpp \
../NetworkRoster.cpp \
../ProcReader.cpp \
../ProcessRoster.cpp \
../Screens.cpp \
../Softwares.cpp \
../StorageRoster.cpp \
../Support.cpp \
../UsersRoster.cpp \
../VolumeRoster.cpp \
../XML.cpp \
../ZLibCompressor.cpp
LOCAL_C_SRCS = \
../edid-decode.c
LOCALOBJECTS= $(addprefix ./, $(notdir $(LOCAL_CPP_SRCS:.cpp=.o)))
LOCALOBJECTS+= $(addprefix ./, $(notdir $(LOCAL_C_SRCS:.c=.o)))
LOCALDEPS= $(addprefix ./, $(notdir $(LOCALOBJECTS:.o=.d)))
SOURCES+= $(LOCALSOURCES)
OBJS += $(LOCALOBJECTS)
DEPS += $(LOCALDEPS)
# Each subdirectory must supply rules for building sources it contributes
%.o: ./%.cpp
@echo 'Building file: $<'
@echo 'Invoking: GCC C++ Compiler'
g++ -DTIXML_USE_STL $(CXXFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '