all: Update Update : test.elf *.o : *.c $(CC) $(CFLAGS) -c -o $@ test.elf: test.o $(CC) -Wl,-Map=test.map $^ $(LFLAGS) -r -o $@ .PHONY : clean clean: rm -f *.elf rm -f *.map rm -f *.o