Initial Commit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user