NetBSD/gnu/dist/gcc/config/msdos/libgcc.mak

15 lines
407 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Build libgcc.a
libgcc.a : libgcc1.c libgcc2.c mklibgcc
./mklibgcc -c
./mklibgcc '$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES)' libgcc1.c $(LIB1FUNCS)
./mklibgcc '$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES)' libgcc2.c $(LIB2FUNCS)
-command /c mklibnow.bat
-command /c del libgcc.a
ar rvs libgcc.a lgcctmp/*.o
mklibgcc : config/msdos/mklibgcc.c
gcc $(CFLAGS) $^ -o $@