# Makefile for RAMFS.XFS; the -mshort flag is mandatory

CC = gcc
AS = $(CC) -c
LD = $(CC) -nostdlib

CFLAGS = -mshort -O2 -fomit-frame-pointer -Wall

ramfs.xfs: start.o ramfs.o
	$(LD) -s -o ramfs.xfs start.o ramfs.o -lgnu16

start.o: start.s
ramfs.o: ramfs.c

