Newer
Older
ubixos / src / lib / libc / yp / Makefile
@reddawg reddawg on 23 Jan 2007 568 bytes Fine tuning
# $Id$
# The System Makefile (C) 2002 The UbixOS Project

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

#Objects
OBJS = xdryp.o yp_xdr.o yplib.o

all: ${OBJS}

# Compile the source files
.cc.So:
	$(CXX) $(CFLAGS) $(INCLUDES) -c -o $@ $<
 
#.cc.s:
#	$(CXX) $(CFLAGS) $(INCLUDES) -S -o $@ $<

.c.o:
	${CC} ${CFLAGS} ${INCLUDES} -c $< -o $@

#.c.s:
#	$(CC) $(CFLAGS) $(INCLUDES) -S -o $@ $<
 
.S.So:
	$(CC) $(CFLAGS) -c -o $@ $<
 
# Clean up the junk
clean:
	$(REMOVE) $(OBJS)