Newer
Older
ubix / src / sys / misc / Makefile
@grayspace grayspace on 30 Jun 2002 590 bytes *** empty log message ***
#  (C) 2002 The UbixOS Project
#  $Id$


#  Compiler
CC = gcc
CPP = g++


#  Linker
LINKER = ld

#  Remove
REMOVE = rm -fr

#  Objects
OBJS = kernel_string_pool.o misc_bit_array.o

all: $(OBJS)

#  Compile Types
.cc.o:
	$(CPP) -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
.cc.s:
	$(CPP)  -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
.c.o:
	$(CC)  -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
.c.s:
	$(CC)  -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
.S.o:
	$(CC)  -Wall -fomit-frame-pointer -c -o $@ $<

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