# (C) 2002 The UbixOS Project
# $Id: Makefile 54 2016-01-11 01:29:55Z reddawg $
# Include Global 'Source' Options
include ../../../Makefile.incl
include ../../Makefile.incl
# Objects
OBJS = fat.o fat_filelib.o fat_access.o fat_cache.o fat_format.o fat_misc.o fat_string.o fat_table.o fat_write.o
CFLAGS += -DFAT_PRINTF_NOINC_STDIO
all: $(OBJS)
# Compile Types
.cc.o:
$(CXX) ${CFLAGS} ${INCLUDES} -c -o $@ $<
.cc.s:
$(CXX) ${CFLAGS} ${INCLUDES} -S -o $@ $<
.c.o:
$(CC) ${CFLAGS} ${INCLUDES} -W -Wall -c -o $@ $<
.c.s:
$(CC) ${CFLAGS} ${INCLUDES} -S -o $@ $<
.S.o:
$(CC) ${CFLAGS} ${INCLUDES} -c -o $@ $<
# Clean up the junk
clean:
$(REMOVE) $(OBJS)