Return to prog.mk CVS log | Up to [local] / prex-old / mk |
File: [local] / prex-old / mk / prog.mk (download)
Revision 1.1.1.1 (vendor branch), Tue Jun 3 09:38:45 2008 UTC (16 years, 2 months ago) by nbrk
Yeah, this is an initial import of Prex, portable real-time microkernel operating system. I wanna hack it for non-profit but fun, so let it in. |
include $(SRCDIR)/mk/own.mk INCLUDE= -I$(SRCDIR) -I$(SRCDIR)/include -I$(SRCDIR)/usr/include ASFLAGS+= $(INCLUDE) CFLAGS+= $(INCLUDE) -nostdinc CPPFLAGS+= $(INCLUDE) -nostdinc LDFLAGS+= -static $(USR_LDFLAGS) LD_SCRIPT= $(SRCDIR)/usr/arch/$(ARCH)/$(ARCH)-$(PLATFORM).ld LIBC= $(SRCDIR)/usr/lib/libc.a CRT0= $(SRCDIR)/usr/lib/crt0.o TYPE= EXEC ifdef PROG TARGET ?= $(PROG) endif ifndef OBJS ifdef SRCS OBJS= $(SRCS:.c=.o) else OBJS= $(TARGET).o endif endif include $(SRCDIR)/mk/Makefile.inc