8sa1-gcc/gcc/config/msdos/libgcc.mak

15 lines
407 B
Makefile
Raw Normal View History

1994-12-20 09:31:20 -05:00
# 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 $@