arm gcc
srcfiles = hello.c
targetfile = hello
$(targetfile):$(srcfiles)
arm-none-linux-gnueabi-gcc -static -o $(targetfile) $(srcfiles) -lpthread
check:
cppcheck --enable=all $(srcfiles)
.PHONY: clean
clean:
-rm -f $(targetfile)
srcfiles = hello.c
targetfile = hello
$(targetfile):$(srcfiles)
arm-none-linux-gnueabi-gcc -static -o $(targetfile) $(srcfiles) -lpthread
check:
cppcheck --enable=all $(srcfiles)
.PHONY: clean
clean:
-rm -f $(targetfile)