Makefile (302B)
1 .POSIX: 2 PROJECTDIR = ../../.. 3 include $(PROJECTDIR)/scripts/rules.mk 4 5 OBJS =\ 6 arch.o\ 7 ctx.o\ 8 mmu.o\ 9 lock.o\ 10 main.o\ 11 $(LIBDIR)/crt.o\ 12 $(SRCDIR)/os9/builtin.o\ 13 14 TARGET = $(BINDIR)/$(OS9).elf 15 16 all: $(TARGET) 17 18 $(TARGET): $(OBJS) $(LIBDEP) 19 $(LD) $(PROJ_LDFLAGS) $(OBJS) $(PROJ_LDLIBS) -lk -lc -o $@