arm: cleanup make clean
This commit is contained in:
parent
4651e8d562
commit
1f2f08e525
10
arm/makefile
10
arm/makefile
@ -4,7 +4,7 @@ CXX = arm-none-eabi-g++
|
|||||||
OBJCOPY = arm-none-eabi-objcopy
|
OBJCOPY = arm-none-eabi-objcopy
|
||||||
|
|
||||||
linker_script = bootloader.ld
|
linker_script = bootloader.ld
|
||||||
includes =
|
includes =
|
||||||
sources =
|
sources =
|
||||||
|
|
||||||
CFLAGS = -march=armv6-m -g -ffunction-sections -fdata-sections -Os -Werror -Wall -flto
|
CFLAGS = -march=armv6-m -g -ffunction-sections -fdata-sections -Os -Werror -Wall -flto
|
||||||
@ -43,9 +43,6 @@ app.elf: $(app_objects) app.ld
|
|||||||
|
|
||||||
deps = $(app_objects:.o=.d) $(bootloader_objects:.o=.d)
|
deps = $(app_objects:.o=.d) $(bootloader_objects:.o=.d)
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -rf *.elf *.bin $(tests) $(app_objects) $(bootloader_objects) $(deps)
|
|
||||||
|
|
||||||
HOSTCXX = /usr/local/opt/llvm/bin/clang++
|
HOSTCXX = /usr/local/opt/llvm/bin/clang++
|
||||||
HOSTLDFLAGS = -lgmock -lgtest -lgtest_main -L/usr/local/opt/llvm/lib -L/usr/local/lib
|
HOSTLDFLAGS = -lgmock -lgtest -lgtest_main -L/usr/local/opt/llvm/lib -L/usr/local/lib
|
||||||
HOSTCFLAGS = -std=c++20 -g\
|
HOSTCFLAGS = -std=c++20 -g\
|
||||||
@ -83,5 +80,10 @@ async_test_asan: async_test.cc async.host.o
|
|||||||
|
|
||||||
test_deps = async.host.d
|
test_deps = async.host.d
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf *.elf *.bin $(app_objects) $(bootloader_objects) $(deps)
|
||||||
|
rm -rf test/ *.dSYM $(tests) $(test_deps) *.o
|
||||||
|
|
||||||
-include $(deps)
|
-include $(deps)
|
||||||
-include $(test_deps)
|
-include $(test_deps)
|
||||||
|
Loading…
Reference in New Issue
Block a user