# modify OBJ to reflect the files composing the x-kernel user program

OBJ = user.o


# the rest of this is unchanging boilerplate

CC = gcc

CFLAGS = -g -I.. -I../../share -I../../protocols -I../../simul -DXSIMUL

LIBDIR = ../../lib/$(ARCH)

LOAD = $(LIBDIR)/userrt0.o $(OBJ) $(LIBDIR)/libxsim.a


user:	$(LOAD)
	ld -r -o user $(LOAD)

clean:
	rm -f $(OBJ) user
