diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2018-11-13 13:34:20 +0100 | 
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2018-11-13 13:34:20 +0100 | 
| commit | 6f416f1957a18e6b00963db6f8d416e1c41bb044 (patch) | |
| tree | 67553466aac7309ba6dd07a316565fbbb7c6a38e /src/arch/posix/Makefile.inc | |
| parent | d8b578f42c5fbac101c77249c05939fd04d50722 (diff) | |
Distinguish between C and C++ targets
Diffstat (limited to 'src/arch/posix/Makefile.inc')
| -rw-r--r-- | src/arch/posix/Makefile.inc | 6 | 
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 | 
