# makefile for assembly project

a.out: average.o
        ld -m elf_i386 -static /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtn.o average.o -lc
        chmod +x ./a.out

average.o: average.s
        as -a --gstabs -o average.o average.s

clean:
        rm -fr  average.o a.out