summaryrefslogtreecommitdiff
path: root/gnu/egcs/gcc/config/msdos/libgcc.mak
blob: 5f480b152d37a705f6229ff4459baee436a45237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 $@