diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-07 15:50:56 -0600 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2020-01-07 15:50:56 -0600 |
commit | c4811dd1b73b37b0916803097237acd31f1df98b (patch) | |
tree | b0d73a975fc7e7de8444775440e0b729fa61d0fa /Makefile | |
parent | 68c0c5ed8ad7c733743de1afc5deb9de862d60f3 (diff) | |
download | mts-io-sysfs-c4811dd1b73b37b0916803097237acd31f1df98b.tar.gz mts-io-sysfs-c4811dd1b73b37b0916803097237acd31f1df98b.tar.bz2 mts-io-sysfs-c4811dd1b73b37b0916803097237acd31f1df98b.zip |
Refactored accessory cards classes with inheritence, fixed Makefile clean, moved some helper functions to header utility
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -43,9 +43,8 @@ SOURCES = $(wildcard $(SOURCEDIR)/**/*.cpp) SOURCES += $(SOURCEDIR)/Version.cpp OBJS1 = $(patsubst $(SOURCEDIR)/%.cpp,$(BUILDDIR)/%.o,$(SOURCES)) OBJS = $(patsubst $(SOURCEDIR)/%.c,$(BUILDDIR)/%.o,$(OBJS1)) -CPP_DEPPS1 = $(patsubst $(SOURCEDIR)/%.cpp,$(BUILDDIR)/%.d,$(SOURCES)) -CPP_DEPPS = $(patsubst $(SOURCEDIR)/%.c,$(BUILDDIR)/%.d,$(CPP_DEPPS1)) -CPP_DEPPS = $(BUILDDIR)/MtsIo.d +CPP_DEPPS = $(patsubst $(SOURCEDIR)/%.cpp,$(BUILDDIR)/**/%.d,$(SOURCES)) +CPP_DEPPS += $(BUILDDIR)/MtsIoSysfs.o $(BUILDDIR)/**/*.o $(BUILDDIR)/**/*.d JS_OBJS = $(BUILDDIR)/Version.o OUT_DIRS=build/AccessoryCards build/Device MKDIR_P = mkdir -p @@ -115,7 +114,7 @@ strip: $(STRIP) $(BUILDDIR)/mts-io-sysfs clean: - -$(RM) $(OBJS) $(CPP_DEPPS) $(BUILDDIR)/mts-io-sysfs $(BUILDDIR)/MtsIoSysfs.o $(BUILDDIR)/AccessoryCards/*.o $(BUILDDIR)/Device/*.o + -$(RM) $(OBJS) $(CPP_DEPPS) $(BUILDDIR)/mts-io-sysfs -@echo ' ' .PHONY: all clean dependents |