view cos/hello/Makefile @ 377:9667d78ba79e

Switched to xml for project description
author Windel Bouwman
date Fri, 11 Apr 2014 15:47:50 +0200
parents 3a6a9b929db0
children
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 liblcfos.o
	ld -T hello.ld -s -o hello.bin hello.o liblcfos.o

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