Newer
Older
Scratch / ubix3 / src / ubixfs / Makefile
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 640 bytes Scratch
#$Id: Makefile,v 1.6 2002/04/21 17:13:23 reddawg Exp $

#Makefile For UbOS Kernel


#Compiler
GCC = gcc
G++ = gcc

#Linker
LD = ld

#Delete Program
REMOVE = rm -f

#Objects
OBJS = ubixfs.o file.o

ALL: $(OBJS)

# Compile the source files
.cc.o:
	$(G++)  -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
 
.cc.s:
	$(G++)  -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
 
.c.o:
	$(GCC)  -Wall -fomit-frame-pointer -O -I../include -c -o $@ $<
 
.c.s:
	$(GCC)  -Wall -fomit-frame-pointer -O -I../include -S -o $@ $<
 
.S.o:
	$(GCC)  -Wall -fomit-frame-pointer -c -o $@ $<
 
# Clean up the junk
clean:
	$(REMOVE) $(OBJS) $(KERNEL)