diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-10 21:29:21 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-06-10 21:29:21 +0200 |
commit | 7deaa5e3a148c143b1f9dd0f485b0200890ba87f (patch) | |
tree | b2a7bd22d6e0e2a8c8b8e00a0a9634872db5e315 /tests/Makefile | |
parent | d6d1bdfefafff50b7b6d15d218c0a188570be541 (diff) | |
download | abaos-7deaa5e3a148c143b1f9dd0f485b0200890ba87f.tar.gz abaos-7deaa5e3a148c143b1f9dd0f485b0200890ba87f.tar.bz2 |
also moved tests into tests/libc
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/Makefile b/tests/Makefile deleted file mode 100644 index 6b91c9b..0000000 --- a/tests/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -CC := gcc -CFLAGS := -std=c99 -m32 -ffreestanding -O0 -g -Wall -Werror -INCLUDES = -I../src -LD := ld - -all: test - -test_strlcpy: test_strlcpy.o ../src/string.o - $(CC) -o test_strlcpy test_strlcpy.o ../src/string.o - -test_strlcpy.o: test_strlcpy.c - $(CC) $(CFLAGS) $(INCLUDES) -c -o test_strlcpy.o test_strlcpy.c - -test_itoa: test_itoa.o ../src/stdlib.o ../src/string.o - $(CC) -o test_itoa test_itoa.o ../src/stdlib.o ../src/string.o - -test_itoa.o: test_itoa.c ../src/stdlib.o - $(CC) $(CFLAGS) $(INCLUDES) -c -o test_itoa.o test_itoa.c - -../src/string.o: ../src/string.c - $(CC) $(CFLAGS) -c -o ../src/string.o ../src/string.c - -../src/stdlib.o: ../src/stdlib.c - $(CC) $(CFLAGS) -c -o ../src/stdlib.o ../src/stdlib.c - -test: test_strlcpy test_itoa - ./test_strlcpy - ./test_itoa - -clean: - -rm -f test_strlcpy test_itoa *.o |