CROSS=arm-linux-
all: hello
hello:
$(CROSS)gcc -o hello hello.c
clean:
all: hello
hello:
$(CROSS)gcc -o hello hello.c
clean:
@rm -vf hello *.o *~
CROSS=arm-linux-
all: ds18b20
ds18b20:ds18b20.c
$(CROSS)gcc -o ds18b20 ds18b20.c
$(CROSS)strip ds18b20
clean:
@rm -vf ds18b20 *.o *~