summaryrefslogtreecommitdiff
path: root/src/arch/posix
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-13 13:34:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-13 13:34:20 +0100
commit6f416f1957a18e6b00963db6f8d416e1c41bb044 (patch)
tree67553466aac7309ba6dd07a316565fbbb7c6a38e /src/arch/posix
parentd8b578f42c5fbac101c77249c05939fd04d50722 (diff)
Distinguish between C and C++ targets
Diffstat (limited to 'src/arch/posix')
-rw-r--r--src/arch/posix/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index a4bc653..5162abd 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -9,10 +9,10 @@ ifeq (${aspectc}, 1)
CXX = ag++ -r build/repo.acp -v 0 -p . --Xcompiler
endif
-TARGETS += src/arch/posix/arch.cc src/arch/posix/driver/gpio.cc
-TARGETS += src/arch/posix/driver/stdout.cc src/arch/posix/driver/uptime.cc
+CXX_TARGETS += src/arch/posix/arch.cc src/arch/posix/driver/gpio.cc
+CXX_TARGETS += src/arch/posix/driver/stdout.cc src/arch/posix/driver/uptime.cc
-OBJECTS = ${TARGETS:.cc=.o}
+OBJECTS = ${CXX_TARGETS:.cc=.o}
ifneq (${gpio_trace}, )
COMMON_FLAGS += -DGPIO_TRACE