FILES = icmp

all: $(FILES)

% : %.asm
	fasm $<
	ld -o $@ ../common.o $@.o
	rm $@.o
clean:
	rm -f *~ $(FILES)