# sample makefile
CC=cc

targets: default

# this target creates a bin-directory
bindir:
	if test ! -d bin;  then mkdir bin;  fi
	if test ! -d bin/x86_64;  then mkdir bin/x86_64;  fi


default: bindir src/hello.c
	$(CC) -o bin/x86_64/hello src/hello.c

clean:
	rm -rf bin Makefile
