2017-11-19 17:02:03 +00:00
|
|
|
# SYNOPSIS:
|
|
|
|
#
|
2018-11-20 14:53:56 +00:00
|
|
|
# make [all] - makes everything.
|
|
|
|
# make TARGET - makes the given target.
|
|
|
|
# make run - makes everything and runs all the tests.
|
|
|
|
# make clean - removes all files generated by make.
|
|
|
|
# make install-googletest - install the googletest code suite
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# Please tweak the following variable definitions as needed by your
|
|
|
|
# project, except GTEST_HEADERS, which you can use in your own targets
|
|
|
|
# but shouldn't modify.
|
|
|
|
|
|
|
|
# Points to the root of Google Test, relative to where this file is.
|
|
|
|
# Remember to tweak this if you move this file.
|
|
|
|
GTEST_DIR = ../lib/googletest/googletest
|
|
|
|
|
|
|
|
# Where to find user code.
|
|
|
|
USER_DIR = ../src
|
2019-05-27 13:11:01 +01:00
|
|
|
INCLUDES = -I$(USER_DIR) -I.
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# Flags passed to the preprocessor.
|
|
|
|
# Set Google Test's header directory as a system directory, such that
|
|
|
|
# the compiler doesn't generate warnings in Google Test headers.
|
2019-11-02 11:21:18 +00:00
|
|
|
CPPFLAGS += -isystem $(GTEST_DIR)/include -DUNIT_TEST -D_IR_LOCALE_=en-AU
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# Flags passed to the C++ compiler.
|
2019-05-27 13:11:01 +01:00
|
|
|
CXXFLAGS += -g -Wall -Wextra -pthread -std=gnu++11
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# All tests produced by this Makefile. Remember to add new tests you
|
|
|
|
# created to the list.
|
|
|
|
TESTS = IRutils_test IRsend_test ir_NEC_test ir_GlobalCache_test \
|
|
|
|
ir_Sherwood_test ir_Sony_test ir_Samsung_test ir_Kelvinator_test \
|
|
|
|
ir_JVC_test ir_RCMM_test ir_LG_test ir_Mitsubishi_test ir_Sharp_test \
|
|
|
|
ir_RC5_RC6_test ir_Panasonic_test ir_Dish_test ir_Whynter_test \
|
|
|
|
ir_Aiwa_test ir_Denon_test ir_Sanyo_test ir_Daikin_test ir_Coolix_test \
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_Gree_test IRrecv_test ir_Pronto_test ir_Fujitsu_test ir_Nikai_test \
|
|
|
|
ir_Toshiba_test ir_Midea_test ir_Magiquest_test ir_Lasertag_test \
|
|
|
|
ir_Carrier_test ir_Haier_test ir_Hitachi_test ir_GICable_test \
|
|
|
|
ir_Whirlpool_test ir_Lutron_test ir_Electra_test ir_Pioneer_test \
|
2019-05-27 13:11:01 +01:00
|
|
|
ir_MWM_test ir_Vestel_test ir_Teco_test ir_Tcl_test ir_Lego_test IRac_test \
|
2019-07-21 15:01:43 +01:00
|
|
|
ir_MitsubishiHeavy_test ir_Trotec_test ir_Argo_test ir_Goodweather_test \
|
2020-04-09 09:25:50 +01:00
|
|
|
ir_Inax_test ir_Neoclima_test ir_Amcor_test ir_Epson_test ir_Symphony_test \
|
|
|
|
ir_Airwell_test
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# All Google Test headers. Usually you shouldn't change this
|
|
|
|
# definition.
|
|
|
|
GTEST_HEADERS = $(GTEST_DIR)/include/gtest/*.h \
|
|
|
|
$(GTEST_DIR)/include/gtest/internal/*.h
|
|
|
|
|
|
|
|
# House-keeping build targets.
|
|
|
|
|
|
|
|
all : $(TESTS)
|
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f $(TESTS) gtest.a gtest_main.a *.o
|
|
|
|
|
|
|
|
# Build and run all the tests.
|
|
|
|
run : all
|
|
|
|
failed=""; \
|
|
|
|
for unittest in $(TESTS); do \
|
|
|
|
./$${unittest} || failed="$${failed} $${unittest}"; \
|
|
|
|
done; \
|
|
|
|
if [ -n "$${failed}" ]; then \
|
|
|
|
echo "FAIL: :-( :-( Unit test(s)$${failed} failed! :-( :-("; exit 1; \
|
|
|
|
else \
|
|
|
|
echo "PASS: \o/ \o/ All unit tests passed. \o/ \o/"; \
|
|
|
|
fi
|
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
run_tests : run
|
|
|
|
|
2017-11-19 17:02:03 +00:00
|
|
|
install-googletest :
|
2018-11-20 14:53:56 +00:00
|
|
|
git clone -b v1.8.x https://github.com/google/googletest.git ../lib/googletest
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# Builds gtest.a and gtest_main.a.
|
|
|
|
|
|
|
|
# Usually you shouldn't tweak such internal variables, indicated by a
|
|
|
|
# trailing _.
|
|
|
|
GTEST_SRCS_ = $(GTEST_DIR)/src/*.cc $(GTEST_DIR)/src/*.h $(GTEST_HEADERS)
|
|
|
|
|
|
|
|
# All the IR protocol object files.
|
|
|
|
PROTOCOLS = ir_NEC.o ir_Sony.o ir_Samsung.o ir_JVC.o ir_RCMM.o ir_RC5_RC6.o \
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_LG.o ir_Mitsubishi.o ir_Fujitsu.o ir_Sharp.o ir_Sanyo.o ir_Denon.o ir_Dish.o \
|
|
|
|
ir_Panasonic.o ir_Whynter.o ir_Coolix.o ir_Aiwa.o ir_Sherwood.o \
|
|
|
|
ir_Kelvinator.o ir_Daikin.o ir_Gree.o ir_Pronto.o ir_Nikai.o ir_Toshiba.o \
|
|
|
|
ir_Midea.o ir_Magiquest.o ir_Lasertag.o ir_Carrier.o ir_Haier.o \
|
|
|
|
ir_Hitachi.o ir_GICable.o ir_Whirlpool.o ir_Lutron.o ir_Electra.o \
|
2019-05-27 13:11:01 +01:00
|
|
|
ir_Pioneer.o ir_MWM.o ir_Vestel.o ir_Teco.o ir_Tcl.o ir_Lego.o ir_Argo.o \
|
2019-08-30 19:41:01 +01:00
|
|
|
ir_Trotec.o ir_MitsubishiHeavy.o ir_Goodweather.o ir_Inax.o ir_Neoclima.o \
|
2020-04-09 09:25:50 +01:00
|
|
|
ir_Amcor.o ir_Epson.o ir_Symphony.o ir_Airwell.o
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
# All the IR Protocol header files.
|
2019-08-30 19:41:01 +01:00
|
|
|
PROTOCOLS_H = $(USER_DIR)/ir_Amcor.h \
|
|
|
|
$(USER_DIR)/ir_Argo.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_Gree.h \
|
|
|
|
$(USER_DIR)/ir_Magiquest.h \
|
|
|
|
$(USER_DIR)/ir_Coolix.h \
|
2019-07-21 15:01:43 +01:00
|
|
|
$(USER_DIR)/ir_Electra.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_Haier.h \
|
2019-11-02 11:21:18 +00:00
|
|
|
$(USER_DIR)/ir_Hitachi.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_Midea.h \
|
|
|
|
$(USER_DIR)/ir_Toshiba.h \
|
|
|
|
$(USER_DIR)/ir_Daikin.h \
|
2019-07-21 15:01:43 +01:00
|
|
|
$(USER_DIR)/ir_Goodweather.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_Kelvinator.h \
|
|
|
|
$(USER_DIR)/ir_Mitsubishi.h \
|
2019-05-27 13:11:01 +01:00
|
|
|
$(USER_DIR)/ir_MitsubishiHeavy.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_NEC.h \
|
2019-07-21 15:01:43 +01:00
|
|
|
$(USER_DIR)/ir_Neoclima.h \
|
|
|
|
$(USER_DIR)/ir_Sharp.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/ir_Samsung.h \
|
|
|
|
$(USER_DIR)/ir_Trotec.h \
|
|
|
|
$(USER_DIR)/ir_Fujitsu.h \
|
|
|
|
$(USER_DIR)/ir_LG.h \
|
2019-05-27 13:11:01 +01:00
|
|
|
$(USER_DIR)/ir_Panasonic.h \
|
|
|
|
$(USER_DIR)/ir_Whirlpool.h \
|
|
|
|
$(USER_DIR)/ir_Vestel.h \
|
|
|
|
$(USER_DIR)/ir_Tcl.h \
|
2019-07-21 15:01:43 +01:00
|
|
|
$(USER_DIR)/ir_Teco.h \
|
|
|
|
$(USER_DIR)/ir_Trotec.h
|
2017-11-19 17:02:03 +00:00
|
|
|
# Common object files
|
2019-05-27 13:11:01 +01:00
|
|
|
COMMON_OBJ = IRutils.o IRtimer.o IRsend.o IRrecv.o IRac.o ir_GlobalCache.o \
|
2019-11-02 11:21:18 +00:00
|
|
|
IRtext.o $(PROTOCOLS) gtest_main.a
|
2017-11-19 17:02:03 +00:00
|
|
|
# Common dependencies
|
|
|
|
COMMON_DEPS = $(USER_DIR)/IRrecv.h $(USER_DIR)/IRsend.h $(USER_DIR)/IRtimer.h \
|
2018-11-20 14:53:56 +00:00
|
|
|
$(USER_DIR)/IRutils.h $(USER_DIR)/IRremoteESP8266.h \
|
2019-11-02 11:21:18 +00:00
|
|
|
$(USER_DIR)/IRac.h $(USER_DIR)/i18n.h $(USER_DIR)/IRtext.h \
|
|
|
|
$(PROTOCOLS_H)
|
2018-11-20 14:53:56 +00:00
|
|
|
|
2017-11-19 17:02:03 +00:00
|
|
|
# Common test dependencies
|
2018-11-20 14:53:56 +00:00
|
|
|
COMMON_TEST_DEPS = $(COMMON_DEPS) IRrecv_test.h IRsend_test.h
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
# For simplicity and to avoid depending on Google Test's
|
|
|
|
# implementation details, the dependencies specified below are
|
|
|
|
# conservative and not optimized. This is fine as Google Test
|
|
|
|
# compiles fast and for ordinary users its source rarely changes.
|
|
|
|
gtest-all.o : $(GTEST_SRCS_)
|
|
|
|
$(CXX) $(CPPFLAGS) -I$(GTEST_DIR) $(CXXFLAGS) -c \
|
|
|
|
$(GTEST_DIR)/src/gtest-all.cc
|
|
|
|
|
|
|
|
gtest_main.o : $(GTEST_SRCS_)
|
|
|
|
$(CXX) $(CPPFLAGS) -I$(GTEST_DIR) $(CXXFLAGS) -c \
|
|
|
|
$(GTEST_DIR)/src/gtest_main.cc
|
|
|
|
|
|
|
|
gtest.a : gtest-all.o
|
|
|
|
$(AR) $(ARFLAGS) $@ $^
|
|
|
|
|
|
|
|
gtest_main.a : gtest-all.o gtest_main.o
|
|
|
|
$(AR) $(ARFLAGS) $@ $^
|
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
# Builds our test. A test should link with either gtest.a or
|
2017-11-19 17:02:03 +00:00
|
|
|
# gtest_main.a, depending on whether it defines its own main()
|
|
|
|
# function.
|
|
|
|
|
2019-11-02 11:21:18 +00:00
|
|
|
IRtext.o : $(USER_DIR)/IRtext.cpp $(USER_DIR)/IRtext.h $(USER_DIR)/IRremoteESP8266.h $(USER_DIR)/i18n.h $(USER_DIR)/locale/*.h
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/IRtext.cpp
|
|
|
|
|
2019-11-25 20:43:39 +00:00
|
|
|
IRutils.o : $(USER_DIR)/IRutils.cpp $(USER_DIR)/IRutils.h $(USER_DIR)/IRremoteESP8266.h $(USER_DIR)/i18n.h $(USER_DIR)/IRtext.cpp $(USER_DIR)/IRtext.h $(USER_DIR)/locale/*.h
|
2019-11-02 11:21:18 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/IRutils.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
IRutils_test.o : IRutils_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c IRutils_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
2019-11-25 20:43:39 +00:00
|
|
|
IRutils_test : IRutils_test.o ir_NEC.o ir_Nikai.o ir_Toshiba.o IRtext.o $(COMMON_OBJ) gtest_main.a
|
2017-11-19 17:02:03 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
IRtimer.o : $(USER_DIR)/IRtimer.cpp $(USER_DIR)/IRtimer.h
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/IRtimer.cpp
|
|
|
|
|
|
|
|
IRsend.o : $(USER_DIR)/IRsend.cpp $(USER_DIR)/IRsend.h $(USER_DIR)/IRremoteESP8266.h
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/IRsend.cpp
|
|
|
|
|
|
|
|
IRsend_test.o : IRsend_test.cpp $(USER_DIR)/IRsend.h $(USER_DIR)/IRrecv.h IRsend_test.h $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c IRsend_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
IRsend_test : IRsend_test.o $(COMMON_OBJ)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
IRrecv.o : $(USER_DIR)/IRrecv.cpp $(USER_DIR)/IRrecv.h $(USER_DIR)/IRremoteESP8266.h $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/IRrecv.cpp
|
|
|
|
|
|
|
|
IRrecv_test.o : IRrecv_test.cpp $(USER_DIR)/IRsend.h $(USER_DIR)/IRrecv.h IRsend_test.h $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c IRrecv_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
IRrecv_test : IRrecv_test.o $(COMMON_OBJ)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-05-27 13:11:01 +01:00
|
|
|
IRac.o : $(USER_DIR)/IRac.cpp $(USER_DIR)/IRac.h $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/IRac.cpp
|
|
|
|
|
|
|
|
IRac_test.o : IRac_test.cpp $(USER_DIR)/IRac.h $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c IRac_test.cpp
|
|
|
|
|
|
|
|
IRac_test : IRac_test.o $(COMMON_OBJ)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_NEC.o : $(USER_DIR)/ir_NEC.cpp $(USER_DIR)/ir_NEC.h $(COMMON_DEPS)
|
2017-11-19 17:02:03 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_NEC.cpp
|
|
|
|
|
|
|
|
ir_NEC_test.o : ir_NEC_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_NEC_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_NEC_test : $(COMMON_OBJ) ir_NEC_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_GlobalCache.o : $(USER_DIR)/ir_GlobalCache.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_GlobalCache.cpp
|
|
|
|
|
|
|
|
ir_GlobalCache_test.o : ir_GlobalCache_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_GlobalCache_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_GlobalCache_test : $(COMMON_OBJ) ir_GlobalCache_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Sherwood.o : $(USER_DIR)/ir_Sherwood.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Sherwood.cpp
|
|
|
|
|
|
|
|
ir_Sherwood_test.o : ir_Sherwood_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Sherwood_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Sherwood_test : $(COMMON_OBJ) ir_Sherwood_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Sony.o : $(USER_DIR)/ir_Sony.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Sony.cpp
|
|
|
|
|
|
|
|
ir_Sony_test.o : ir_Sony_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Sony_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Sony_test : $(COMMON_OBJ) ir_Sony_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_Samsung.o : $(USER_DIR)/ir_Samsung.cpp $(USER_DIR)/ir_Samsung.h $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Samsung.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_Samsung_test.o : ir_Samsung_test.cpp $(USER_DIR)/ir_Samsung.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Samsung_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Samsung_test : $(COMMON_OBJ) ir_Samsung_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Kelvinator.o : $(USER_DIR)/ir_Kelvinator.cpp $(USER_DIR)/ir_Kelvinator.h $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Kelvinator.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Kelvinator_test.o : ir_Kelvinator_test.cpp $(USER_DIR)/ir_Kelvinator.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Kelvinator_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Kelvinator_test : $(COMMON_OBJ) ir_Kelvinator_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_JVC.o : $(USER_DIR)/ir_JVC.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_JVC.cpp
|
|
|
|
|
|
|
|
ir_JVC_test.o : ir_JVC_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_JVC_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_JVC_test : $(COMMON_OBJ) ir_JVC_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_RCMM.o : $(USER_DIR)/ir_RCMM.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_RCMM.cpp
|
|
|
|
|
|
|
|
ir_RCMM_test.o : ir_RCMM_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_RCMM_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_RCMM_test : $(COMMON_OBJ) ir_RCMM_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_LG.o : $(USER_DIR)/ir_LG.h $(USER_DIR)/ir_LG.cpp $(COMMON_DEPS)
|
2020-01-06 16:27:36 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_LG.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_LG_test.o : ir_LG_test.cpp $(USER_DIR)/ir_LG.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_LG_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_LG_test : $(COMMON_OBJ) ir_LG_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Mitsubishi.o : $(USER_DIR)/ir_Mitsubishi.h $(USER_DIR)/ir_Mitsubishi.cpp $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Mitsubishi.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Mitsubishi_test.o : ir_Mitsubishi_test.cpp $(USER_DIR)/ir_Mitsubishi.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Mitsubishi_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Mitsubishi_test : $(COMMON_OBJ) ir_Mitsubishi_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-05-27 13:11:01 +01:00
|
|
|
ir_MitsubishiHeavy.o : $(USER_DIR)/ir_MitsubishiHeavy.h $(USER_DIR)/ir_MitsubishiHeavy.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_MitsubishiHeavy.cpp
|
|
|
|
|
|
|
|
ir_MitsubishiHeavy_test.o : ir_MitsubishiHeavy_test.cpp $(USER_DIR)/ir_MitsubishiHeavy.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_MitsubishiHeavy_test.cpp
|
|
|
|
|
|
|
|
ir_MitsubishiHeavy_test : $(COMMON_OBJ) ir_MitsubishiHeavy_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2017-11-19 17:02:03 +00:00
|
|
|
ir_Fujitsu.o : $(USER_DIR)/ir_Fujitsu.h $(USER_DIR)/ir_Fujitsu.cpp $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Fujitsu.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Fujitsu_test.o : ir_Fujitsu_test.cpp $(USER_DIR)/ir_Fujitsu.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Fujitsu_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Fujitsu_test : $(COMMON_OBJ) ir_Fujitsu_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Sharp.o : $(USER_DIR)/ir_Sharp.cpp $(COMMON_DEPS)
|
2019-07-21 15:01:43 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Sharp.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Sharp_test.o : ir_Sharp_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Sharp_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Sharp_test : $(COMMON_OBJ) ir_Sharp_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_RC5_RC6.o : $(USER_DIR)/ir_RC5_RC6.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_RC5_RC6.cpp
|
|
|
|
|
|
|
|
ir_RC5_RC6_test.o : ir_RC5_RC6_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_RC5_RC6_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_RC5_RC6_test : $(COMMON_OBJ) ir_RC5_RC6_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Panasonic.o : $(USER_DIR)/ir_Panasonic.cpp $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Panasonic.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Panasonic_test.o : ir_Panasonic_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Panasonic_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Panasonic_test : $(COMMON_OBJ) ir_Panasonic_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Dish.o : $(USER_DIR)/ir_Dish.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Dish.cpp
|
|
|
|
|
|
|
|
ir_Dish_test.o : ir_Dish_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Dish_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Dish_test : $(COMMON_OBJ) ir_Dish_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Whynter.o : $(USER_DIR)/ir_Whynter.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Whynter.cpp
|
|
|
|
|
|
|
|
ir_Whynter_test.o : ir_Whynter_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Whynter_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Whynter_test : $(COMMON_OBJ) ir_Whynter_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Coolix.o : $(USER_DIR)/ir_Coolix.cpp $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Coolix.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_Coolix_test.o : ir_Coolix_test.cpp $(USER_DIR)/ir_Coolix.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Coolix_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Coolix_test : $(COMMON_OBJ) ir_Coolix_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Aiwa.o : $(USER_DIR)/ir_Aiwa.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Aiwa.cpp
|
|
|
|
|
|
|
|
ir_Aiwa_test.o : ir_Aiwa_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Aiwa_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Aiwa_test : $(COMMON_OBJ) ir_Aiwa_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Denon.o : $(USER_DIR)/ir_Denon.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Denon.cpp
|
|
|
|
|
|
|
|
ir_Denon_test.o : ir_Denon_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Denon_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Denon_test : $(COMMON_OBJ) ir_Denon_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Sanyo.o : $(USER_DIR)/ir_Sanyo.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Sanyo.cpp
|
|
|
|
|
|
|
|
ir_Sanyo_test.o : ir_Sanyo_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Sanyo_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Sanyo_test : $(COMMON_OBJ) ir_Sanyo_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Daikin.o : $(USER_DIR)/ir_Daikin.cpp $(USER_DIR)/ir_Daikin.h $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Daikin.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Daikin_test.o : ir_Daikin_test.cpp $(USER_DIR)/ir_Daikin.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Daikin_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Daikin_test : $(COMMON_OBJ) ir_Daikin_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-11-25 20:43:39 +00:00
|
|
|
ir_Gree.o : $(USER_DIR)/ir_Gree.cpp $(GTEST_HEADERS) $(COMMON_DEPS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Gree.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Gree_test.o : ir_Gree_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Gree_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
2018-11-20 14:53:56 +00:00
|
|
|
ir_Gree_test : $(COMMON_OBJ) ir_Gree_test.o ir_Kelvinator.o
|
2017-11-19 17:02:03 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Pronto.o : $(USER_DIR)/ir_Pronto.cpp $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Pronto.cpp
|
|
|
|
|
|
|
|
ir_Pronto_test.o : ir_Pronto_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Pronto_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Pronto_test : $(COMMON_OBJ) ir_Pronto_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Nikai.o : $(USER_DIR)/ir_Nikai.cpp $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Nikai.cpp
|
|
|
|
|
|
|
|
ir_Nikai_test.o : ir_Nikai_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Nikai_test.cpp
|
2017-11-19 17:02:03 +00:00
|
|
|
|
|
|
|
ir_Nikai_test : $(COMMON_OBJ) ir_Nikai_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
2018-11-20 14:53:56 +00:00
|
|
|
|
2019-11-25 20:43:39 +00:00
|
|
|
ir_Toshiba.o : $(USER_DIR)/ir_Toshiba.cpp $(USER_DIR)/ir_Toshiba.h $(COMMON_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Toshiba.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Toshiba_test.o : ir_Toshiba_test.cpp $(USER_DIR)/ir_Toshiba.h $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Toshiba_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Toshiba_test : $(COMMON_OBJ) ir_Toshiba_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-11-02 11:21:18 +00:00
|
|
|
ir_Midea.o : $(USER_DIR)/ir_Midea.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Midea.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Midea_test.o : ir_Midea_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Midea_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Midea_test : $(COMMON_OBJ) ir_Midea_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-11-02 11:21:18 +00:00
|
|
|
ir_Magiquest.o : $(USER_DIR)/ir_Magiquest.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2018-11-20 14:53:56 +00:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Magiquest.cpp
|
|
|
|
|
|
|
|
ir_Magiquest_test.o : ir_Magiquest_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Magiquest_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Magiquest_test : $(COMMON_OBJ) ir_Magiquest_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Lasertag.o : $(USER_DIR)/ir_Lasertag.cpp $(USER_DIR)/ir_RC5_RC6.cpp $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Lasertag.cpp
|
|
|
|
|
|
|
|
ir_Lasertag_test.o : ir_Lasertag_test.cpp $(USER_DIR)/ir_RC5_RC6.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Lasertag_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Lasertag_test : $(COMMON_OBJ) ir_Lasertag_test.o ir_RC5_RC6.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Carrier.o : $(USER_DIR)/ir_Carrier.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Carrier.cpp
|
|
|
|
|
|
|
|
ir_Carrier_test.o : ir_Carrier_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Carrier_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Carrier_test : $(COMMON_OBJ) ir_Carrier_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Haier.o : $(USER_DIR)/ir_Haier.cpp $(USER_DIR)/ir_Haier.h $(COMMON_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Haier.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Haier_test.o : ir_Haier_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Haier_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Haier_test : $(COMMON_OBJ) ir_Haier_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-11-02 11:21:18 +00:00
|
|
|
ir_Hitachi.o : $(USER_DIR)/ir_Hitachi.cpp $(USER_DIR)/ir_Hitachi.h $(COMMON_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Hitachi.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Hitachi_test.o : ir_Hitachi_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Hitachi_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Hitachi_test : $(COMMON_OBJ) ir_Hitachi_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_GICable.o : $(USER_DIR)/ir_GICable.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_GICable.cpp
|
|
|
|
|
|
|
|
ir_GICable_test.o : ir_GICable_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_GICable_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_GICable_test : $(COMMON_OBJ) ir_GICable_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Whirlpool.o : $(USER_DIR)/ir_Whirlpool.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Whirlpool.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Whirlpool_test.o : ir_Whirlpool_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Whirlpool_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Whirlpool_test : $(COMMON_OBJ) ir_Whirlpool_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Lutron.o : $(USER_DIR)/ir_Lutron.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Lutron.cpp
|
|
|
|
|
|
|
|
ir_Lutron_test.o : ir_Lutron_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Lutron_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Lutron_test : $(COMMON_OBJ) ir_Lutron_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-07-21 15:01:43 +01:00
|
|
|
ir_Electra.o : $(USER_DIR)/ir_Electra.h $(USER_DIR)/ir_Electra.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Electra.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Electra_test.o : ir_Electra_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Electra_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Electra_test : $(COMMON_OBJ) ir_Electra_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Pioneer.o : $(USER_DIR)/ir_Pioneer.cpp $(COMMON_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Pioneer.cpp
|
|
|
|
|
|
|
|
ir_Pioneer_test.o : ir_Pioneer_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Pioneer_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_Pioneer_test : $(COMMON_OBJ) ir_Pioneer_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_MWM.o : $(USER_DIR)/ir_MWM.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_MWM.cpp
|
|
|
|
|
|
|
|
ir_MWM_test.o : ir_MWM_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
2019-05-27 13:11:01 +01:00
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_MWM_test.cpp
|
2018-11-20 14:53:56 +00:00
|
|
|
|
|
|
|
ir_MWM_test : $(COMMON_OBJ) ir_MWM_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
2019-05-27 13:11:01 +01:00
|
|
|
|
|
|
|
ir_Vestel.o : $(USER_DIR)/ir_Vestel.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Vestel.cpp
|
|
|
|
|
|
|
|
ir_Vestel_test.o : ir_Vestel_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Vestel_test.cpp
|
|
|
|
|
|
|
|
ir_Vestel_test : $(COMMON_OBJ) ir_Vestel_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Teco.o : $(USER_DIR)/ir_Teco.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Teco.cpp
|
|
|
|
|
|
|
|
ir_Teco_test.o : ir_Teco_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Teco_test.cpp
|
|
|
|
|
|
|
|
ir_Teco_test : $(COMMON_OBJ) ir_Teco_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Tcl.o : $(USER_DIR)/ir_Tcl.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Tcl.cpp
|
|
|
|
|
|
|
|
ir_Tcl_test.o : ir_Tcl_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Tcl_test.cpp
|
|
|
|
|
|
|
|
ir_Tcl_test : $(COMMON_OBJ) ir_Tcl_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Lego.o : $(USER_DIR)/ir_Lego.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(USER_DIR)/ir_Lego.cpp
|
|
|
|
|
|
|
|
ir_Lego_test.o : ir_Lego_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Lego_test.cpp
|
|
|
|
|
|
|
|
ir_Lego_test : $(COMMON_OBJ) ir_Lego_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Argo.o : $(USER_DIR)/ir_Argo.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Argo.cpp
|
|
|
|
|
2019-07-21 15:01:43 +01:00
|
|
|
ir_Argo_test.o : ir_Argo_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Argo_test.cpp
|
|
|
|
|
|
|
|
ir_Argo_test : $(COMMON_OBJ) ir_Argo_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
2019-05-27 13:11:01 +01:00
|
|
|
ir_Trotec.o : $(USER_DIR)/ir_Trotec.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Trotec.cpp
|
2019-07-21 15:01:43 +01:00
|
|
|
|
|
|
|
ir_Trotec_test.o : ir_Trotec_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Trotec_test.cpp
|
|
|
|
|
|
|
|
ir_Trotec_test : $(COMMON_OBJ) ir_Trotec_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Goodweather.o : $(USER_DIR)/ir_Goodweather.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Goodweather.cpp
|
|
|
|
|
|
|
|
ir_Goodweather_test.o : ir_Goodweather_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Goodweather_test.cpp
|
|
|
|
|
|
|
|
ir_Goodweather_test : $(COMMON_OBJ) ir_Goodweather_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Inax.o : $(USER_DIR)/ir_Inax.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Inax.cpp
|
|
|
|
|
|
|
|
ir_Inax_test.o : ir_Inax_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Inax_test.cpp
|
|
|
|
|
|
|
|
ir_Inax_test : $(COMMON_OBJ) ir_Inax_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Neoclima.o : $(USER_DIR)/ir_Neoclima.h $(USER_DIR)/ir_Neoclima.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Neoclima.cpp
|
|
|
|
|
|
|
|
ir_Neoclima_test.o : ir_Neoclima_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Neoclima_test.cpp
|
|
|
|
|
|
|
|
ir_Neoclima_test : $(COMMON_OBJ) ir_Neoclima_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
2019-08-30 19:41:01 +01:00
|
|
|
|
|
|
|
ir_Amcor.o : $(USER_DIR)/ir_Amcor.h $(USER_DIR)/ir_Amcor.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Amcor.cpp
|
|
|
|
|
|
|
|
ir_Amcor_test.o : ir_Amcor_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Amcor_test.cpp
|
|
|
|
|
|
|
|
ir_Amcor_test : $(COMMON_OBJ) ir_Amcor_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
2020-02-29 12:51:16 +00:00
|
|
|
|
|
|
|
ir_Epson.o : $(USER_DIR)/ir_Epson.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Epson.cpp
|
|
|
|
|
|
|
|
ir_Epson_test.o : ir_Epson_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Epson_test.cpp
|
|
|
|
|
|
|
|
ir_Epson_test : $(COMMON_OBJ) ir_Epson_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
2020-04-09 09:25:50 +01:00
|
|
|
|
|
|
|
ir_Symphony.o : $(USER_DIR)/ir_Symphony.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Symphony.cpp
|
|
|
|
|
|
|
|
ir_Symphony_test.o : ir_Symphony_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Symphony_test.cpp
|
|
|
|
|
|
|
|
ir_Symphony_test : $(COMMON_OBJ) ir_Symphony_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|
|
|
|
|
|
|
|
ir_Airwell.o : $(USER_DIR)/ir_Airwell.cpp $(COMMON_DEPS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c $(USER_DIR)/ir_Airwell.cpp
|
|
|
|
|
|
|
|
ir_Airwell_test.o : ir_Airwell_test.cpp $(COMMON_TEST_DEPS) $(GTEST_HEADERS)
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDES) -c ir_Airwell_test.cpp
|
|
|
|
|
|
|
|
ir_Airwell_test : $(COMMON_OBJ) ir_Airwell_test.o
|
|
|
|
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -lpthread $^ -o $@
|