Newer
Older
Scratch / lockwasher / src / lib / ubix / Makefile
@Christopher W. Olsen Christopher W. Olsen on 25 Oct 2019 717 bytes Scratch
# $Id: Makefile,v 1.1.1.1 2003/01/12 00:20:02 reddawg Exp $
# Kernel Makefile (C) 2002 The UbixOS Project


#Compiler
GCC = gcc 
G++ = gcc

#Linker
LD = ld

#Binary File Name
BINARY = none 

#Delete Program
REMOVE = rm -f

#Objects
OBJS = startup.o

# Make the Binary
$(BINARY) : $(OBJS)

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