Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SOURCES = mem_manager.c tree.c queue.c exception.c scheduler.c ssi.c p2test.0.2.c
- CC = mipsel-linux-gcc
- CCT = mipsel-linux-ld
- CFLAGS = -Wall
- MDIR = $(UMPATH)/src/support
- TFLAGS = -T $(MDIR)/elf32ltsmip.h.umpscore.x $(MDIR)/crtso.o $(MDIR)/libumps.o
- HDIR = include/
- HDIR_UMPS = uMPS_include/
- INCPATH = -I$(HDIR) -I$(HDIR_UMPS) -I$(MDIR)/e
- DEPH = $(HDIR)/listx.h \
- $(HDIR)/types11.h \
- $(HDIR)/const11.h
- OBJECTS = mem_manager.o tree.o queue.o exception.o scheduler.o ssi.o p2test.0.2.o
- build: $(OBJECTS) $(DEPH) $(EXEC).o
- $(CCT) $(TFLAGS) $(OBJECTS) $(EXEC).o -o release/kernel
- rebuild: clean build link
- %.o: %.c $(DEPH)
- $(CC) $(CFLAGS) $(INCPATH) -c $<
- link:
- umps2-elf2umps -k release/kernel
- clean:
- rm -f *.o release/*
Add Comment
Please, Sign In to add comment