2011년 12월 8일 목요일

TESTRT - Makefile수정


hello.c로 부터 hello.exe를 만들기

CC = gcc
hello.exe : hello.o
        $(CC) -o hello.exe hello.o
hello.o : hello.c
        $(CC) -c hello.c
clean :
        rm -f hello.exe hello.o

hello.c로 부터 INSTRUMENT된 hello.exe를 만들기

CC = attolcc -keep -mempro -block=logical -- gcc
hello.exe : hello.o
        $(CC) -o hello.exe hello.o
hello.o : hello.c
        $(CC) -c hello.c
clean :
        rm -f hello.exe hello.o hello_aug.c hello.i hello.c.tsf hello.c.fdc TP.o products.h

댓글 없음:

댓글 쓰기