view cos/hello/Makefile @ 31:88590c42320f

Changed interrupt handler
author windel
date Tue, 10 Jan 2012 20:40:35 +0100
parents d3c4bf3720a3
children 3a6a9b929db0
line wrap: on
line source

# vim: set noexpandtab:

CFLAGS = -m64 \
			-nostdinc \
			-nostdlib \
			-nostartfiles \
			-mno-red-zone \
			-fno-builtin \
			-mcmodel=large \
			-Wall \
			-Wextra \
			-Werror

hello.bin: hello.o
	ld -T hello.ld -s -o hello.bin hello.o

%.o: %.c
	gcc $(CFLAGS) -o $@ -c $<