Newer
Older
ubixos / src / sys / kernel / Makefile
@reddawg reddawg on 15 Apr 2004 759 bytes UbixOS v1.0
#  (C) 2002 The UbixOS Project
#  $Id$

# Include Global 'Source' Options
include ../../Makefile.inc
include ../Makefile.inc

#  Objects
OBJS = bioscall.o ld.o time.o fork.o syscall.o elf.o file.o idletask.o exec.o sched.o kpanic.o vitals.o ubthread.o

all: $(OBJS)

#  Compile Types
.cc.o:
	$(CXX) ${CFLAGS} -fno-exceptions -DNOBOOL -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
.cc.s:
	$(CXX) ${CFLAGS} -fno-exceptions -DNOBOOL -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
.c.o:
	$(CC) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
.c.s:
	$(CC) ${CFLAGS} -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
.S.o:
	$(CC) ${CFLAGS} -Wall -fomit-frame-pointer -c -o $@ $<

# Clean up the junk
clean:
	$(REMOVE) $(OBJS)