summaryrefslogtreecommitdiff
path: root/src/modules/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/test/Makefile')
-rw-r--r--src/modules/test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/test/Makefile b/src/modules/test/Makefile
index e571da9..6dd9f80 100644
--- a/src/modules/test/Makefile
+++ b/src/modules/test/Makefile
@@ -4,7 +4,7 @@ CC = gcc
CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Wextra -I ../../include
LD = ld
-LDFLAGS = -T ../../library/link.ld -L ../../library -Map main.map
+LDFLAGS = -T ../../library/link.ld -L ../../library -Map test.map
Objects = main.o
Outfile = test.elf
@@ -24,6 +24,7 @@ $(Outfile): $(Objects)
clean:
echo "* Removing objects..."
rm *.o || exit 0
+ rm *.map || exit 0
rm $(Objects) || exit 0
mrproper: clean