1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- Added "factorial" test program for "%g" testing.

git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@15077 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2006-01-02 13:11:39 +00:00
parent ca30ee62a2
commit 23c2091ab4
4 changed files with 49 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#
# $Id: GNUmakefile.os4,v 1.10 2005-08-27 12:52:26 obarthel Exp $
# $Id: GNUmakefile.os4,v 1.11 2006-01-02 13:11:39 obarthel Exp $
#
# :ts=8
#
@ -40,13 +40,14 @@ LIBS = -lm -lc -ldebug -lgcc
all: test fgets_test iotest sscanf_test printf_test sprintf_test \
stack_size_test translate_test strtok_test uname simple \
fstat_stdout_test simple_sprintf date_test sscanf_64
fstat_stdout_test simple_sprintf date_test sscanf_64 \
factorial
clean:
$(DELETE) *.o *.map test fgets_test iotest sscanf_test printf_test \
sprintf_test stack_size_test translate_test strtok_test \
uname simple fstat_stdout_test simple_sprintf date_test \
sscanf_64
sscanf_64 factorial
##############################################################################
@ -109,3 +110,7 @@ simple_sprintf : simple_sprintf.o
sscanf_64 : sscanf_64.o
@echo "Linking $@"
$(CC) -nostdlib $(CFLAGS) -o $@ sscanf_64.o -lc -lgcc -Wl,--cref,-M,-Map=$@.map
factorial : factorial.o
@echo "Linking $@"
$(CC) -nostdlib $(CFLAGS) -o $@ factorial.o -lc -lgcc -Wl,--cref,-M,-Map=$@.map