Hello!

I have a text file named sources_list and it looks like this:
Code:
ea3131_startup_entry.s
pad.s
ea3131_board.c
lpc313x_cgu_default.c
lpc313x_cgu_driver.c
lpc313x_dma_driver.c
lpc313x_evt_driver.c
What is the comand to substitute all extensions (.s , .c) with .o.

I dont care if it is done in 2 steps.