Initial Commit

This commit is contained in:
2018-12-18 12:07:12 +01:00
commit 7ad040c6c1
31 changed files with 1974 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#
# Makefile.target
#
PresenceDetection: Application/PresenceDetection.o $(OBJECTS)
$(eval $@_DATETIME := $(DATETIME))
@echo [LD] $@
@$(CC) -o $@ $^ $(LFLAGS) $(CFLAGS)
@$(OBJCOPY) --only-keep-debug $@ $(DEBUGDIR)/$@-$($@_DATETIME).debug
@$(STRIP) $(SFLAGS) $@
@$(OBJCOPY) --add-gnu-debuglink="$(DEBUGDIR)/$@-$($@_DATETIME).debug" $@
@chmod -x $(DEBUGDIR)/$@-$($@_DATETIME).debug
test: Application/Test.o $(OBJECTS)
@echo [LD] $@
@$(CC) -o $@ $^ $(LFLAGS) $(CFLAGS)
@$(STRIP) $(SFLAGS) $@
.DEFAULT_GOAL := PresenceDetection
TARGETS += PresenceDetection test