From 8e67e2eb703d9e24a06ce9e9715a9493ea739e9a Mon Sep 17 00:00:00 2001 From: weetmuts Date: Sat, 23 Feb 2019 13:53:52 +0100 Subject: [PATCH] Moved sources into src. --- Makefile | 2 +- aes.cc => src/aes.cc | 0 aes.h => src/aes.h | 0 cmdline.cc => src/cmdline.cc | 0 cmdline.h => src/cmdline.h | 0 config.cc => src/config.cc | 0 config.h => src/config.h | 0 crc.cc => src/crc.cc | 0 dvparser.cc => src/dvparser.cc | 0 dvparser.h => src/dvparser.h | 0 main.cc => src/main.cc | 0 manufacturers.h => src/manufacturers.h | 0 meter_iperl.cc => src/meter_iperl.cc | 0 meter_multical21.cc => src/meter_multical21.cc | 0 meter_multical302.cc => src/meter_multical302.cc | 0 meter_omnipower.cc => src/meter_omnipower.cc | 0 meter_qcaloric.cc => src/meter_qcaloric.cc | 0 meter_supercom587.cc => src/meter_supercom587.cc | 0 meters.cc => src/meters.cc | 0 meters.h => src/meters.h | 0 .../meters_common_implementation.h | 0 printer.cc => src/printer.cc | 0 printer.h => src/printer.h | 0 serial.cc => src/serial.cc | 0 serial.h => src/serial.h | 0 shell.cc => src/shell.cc | 0 shell.h => src/shell.h | 0 testinternals.cc => src/testinternals.cc | 0 util.cc => src/util.cc | 0 util.h => src/util.h | 0 wmbus.cc => src/wmbus.cc | 0 wmbus.h => src/wmbus.h | 0 wmbus_amb8465.cc => src/wmbus_amb8465.cc | 0 wmbus_amb8465.h => src/wmbus_amb8465.h | 0 wmbus_im871a.cc => src/wmbus_im871a.cc | 0 wmbus_im871a.h => src/wmbus_im871a.h | 0 wmbus_simulator.cc => src/wmbus_simulator.cc | 0 wmbus_utils.cc => src/wmbus_utils.cc | 0 wmbus_utils.h => src/wmbus_utils.h | 0 39 files changed, 1 insertion(+), 1 deletion(-) rename aes.cc => src/aes.cc (100%) rename aes.h => src/aes.h (100%) rename cmdline.cc => src/cmdline.cc (100%) rename cmdline.h => src/cmdline.h (100%) rename config.cc => src/config.cc (100%) rename config.h => src/config.h (100%) rename crc.cc => src/crc.cc (100%) rename dvparser.cc => src/dvparser.cc (100%) rename dvparser.h => src/dvparser.h (100%) rename main.cc => src/main.cc (100%) rename manufacturers.h => src/manufacturers.h (100%) rename meter_iperl.cc => src/meter_iperl.cc (100%) rename meter_multical21.cc => src/meter_multical21.cc (100%) rename meter_multical302.cc => src/meter_multical302.cc (100%) rename meter_omnipower.cc => src/meter_omnipower.cc (100%) rename meter_qcaloric.cc => src/meter_qcaloric.cc (100%) rename meter_supercom587.cc => src/meter_supercom587.cc (100%) rename meters.cc => src/meters.cc (100%) rename meters.h => src/meters.h (100%) rename meters_common_implementation.h => src/meters_common_implementation.h (100%) rename printer.cc => src/printer.cc (100%) rename printer.h => src/printer.h (100%) rename serial.cc => src/serial.cc (100%) rename serial.h => src/serial.h (100%) rename shell.cc => src/shell.cc (100%) rename shell.h => src/shell.h (100%) rename testinternals.cc => src/testinternals.cc (100%) rename util.cc => src/util.cc (100%) rename util.h => src/util.h (100%) rename wmbus.cc => src/wmbus.cc (100%) rename wmbus.h => src/wmbus.h (100%) rename wmbus_amb8465.cc => src/wmbus_amb8465.cc (100%) rename wmbus_amb8465.h => src/wmbus_amb8465.h (100%) rename wmbus_im871a.cc => src/wmbus_im871a.cc (100%) rename wmbus_im871a.h => src/wmbus_im871a.h (100%) rename wmbus_simulator.cc => src/wmbus_simulator.cc (100%) rename wmbus_utils.cc => src/wmbus_utils.cc (100%) rename wmbus_utils.h => src/wmbus_utils.h (100%) diff --git a/Makefile b/Makefile index 6f67823..81ea1fd 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ $(shell mkdir -p $(BUILD)) CXXFLAGS := $(DEBUG_FLAGS) -fPIC -fmessage-length=0 -std=c++11 -Wall -Wno-maybe-uninitialized -Wno-unused-function "-DWMBUSMETERS_VERSION=\"0.8.4\"" -$(BUILD)/%.o: %.cc $(wildcard %.h) +$(BUILD)/%.o: src/%.cc $(wildcard src/%.h) $(CXX) $(CXXFLAGS) $< -c -o $@ METERS_OBJS:=\ diff --git a/aes.cc b/src/aes.cc similarity index 100% rename from aes.cc rename to src/aes.cc diff --git a/aes.h b/src/aes.h similarity index 100% rename from aes.h rename to src/aes.h diff --git a/cmdline.cc b/src/cmdline.cc similarity index 100% rename from cmdline.cc rename to src/cmdline.cc diff --git a/cmdline.h b/src/cmdline.h similarity index 100% rename from cmdline.h rename to src/cmdline.h diff --git a/config.cc b/src/config.cc similarity index 100% rename from config.cc rename to src/config.cc diff --git a/config.h b/src/config.h similarity index 100% rename from config.h rename to src/config.h diff --git a/crc.cc b/src/crc.cc similarity index 100% rename from crc.cc rename to src/crc.cc diff --git a/dvparser.cc b/src/dvparser.cc similarity index 100% rename from dvparser.cc rename to src/dvparser.cc diff --git a/dvparser.h b/src/dvparser.h similarity index 100% rename from dvparser.h rename to src/dvparser.h diff --git a/main.cc b/src/main.cc similarity index 100% rename from main.cc rename to src/main.cc diff --git a/manufacturers.h b/src/manufacturers.h similarity index 100% rename from manufacturers.h rename to src/manufacturers.h diff --git a/meter_iperl.cc b/src/meter_iperl.cc similarity index 100% rename from meter_iperl.cc rename to src/meter_iperl.cc diff --git a/meter_multical21.cc b/src/meter_multical21.cc similarity index 100% rename from meter_multical21.cc rename to src/meter_multical21.cc diff --git a/meter_multical302.cc b/src/meter_multical302.cc similarity index 100% rename from meter_multical302.cc rename to src/meter_multical302.cc diff --git a/meter_omnipower.cc b/src/meter_omnipower.cc similarity index 100% rename from meter_omnipower.cc rename to src/meter_omnipower.cc diff --git a/meter_qcaloric.cc b/src/meter_qcaloric.cc similarity index 100% rename from meter_qcaloric.cc rename to src/meter_qcaloric.cc diff --git a/meter_supercom587.cc b/src/meter_supercom587.cc similarity index 100% rename from meter_supercom587.cc rename to src/meter_supercom587.cc diff --git a/meters.cc b/src/meters.cc similarity index 100% rename from meters.cc rename to src/meters.cc diff --git a/meters.h b/src/meters.h similarity index 100% rename from meters.h rename to src/meters.h diff --git a/meters_common_implementation.h b/src/meters_common_implementation.h similarity index 100% rename from meters_common_implementation.h rename to src/meters_common_implementation.h diff --git a/printer.cc b/src/printer.cc similarity index 100% rename from printer.cc rename to src/printer.cc diff --git a/printer.h b/src/printer.h similarity index 100% rename from printer.h rename to src/printer.h diff --git a/serial.cc b/src/serial.cc similarity index 100% rename from serial.cc rename to src/serial.cc diff --git a/serial.h b/src/serial.h similarity index 100% rename from serial.h rename to src/serial.h diff --git a/shell.cc b/src/shell.cc similarity index 100% rename from shell.cc rename to src/shell.cc diff --git a/shell.h b/src/shell.h similarity index 100% rename from shell.h rename to src/shell.h diff --git a/testinternals.cc b/src/testinternals.cc similarity index 100% rename from testinternals.cc rename to src/testinternals.cc diff --git a/util.cc b/src/util.cc similarity index 100% rename from util.cc rename to src/util.cc diff --git a/util.h b/src/util.h similarity index 100% rename from util.h rename to src/util.h diff --git a/wmbus.cc b/src/wmbus.cc similarity index 100% rename from wmbus.cc rename to src/wmbus.cc diff --git a/wmbus.h b/src/wmbus.h similarity index 100% rename from wmbus.h rename to src/wmbus.h diff --git a/wmbus_amb8465.cc b/src/wmbus_amb8465.cc similarity index 100% rename from wmbus_amb8465.cc rename to src/wmbus_amb8465.cc diff --git a/wmbus_amb8465.h b/src/wmbus_amb8465.h similarity index 100% rename from wmbus_amb8465.h rename to src/wmbus_amb8465.h diff --git a/wmbus_im871a.cc b/src/wmbus_im871a.cc similarity index 100% rename from wmbus_im871a.cc rename to src/wmbus_im871a.cc diff --git a/wmbus_im871a.h b/src/wmbus_im871a.h similarity index 100% rename from wmbus_im871a.h rename to src/wmbus_im871a.h diff --git a/wmbus_simulator.cc b/src/wmbus_simulator.cc similarity index 100% rename from wmbus_simulator.cc rename to src/wmbus_simulator.cc diff --git a/wmbus_utils.cc b/src/wmbus_utils.cc similarity index 100% rename from wmbus_utils.cc rename to src/wmbus_utils.cc diff --git a/wmbus_utils.h b/src/wmbus_utils.h similarity index 100% rename from wmbus_utils.h rename to src/wmbus_utils.h