head	1.1;
branch	1.1.1;
access;
symbols
	LIBC_4_5_19:1.1.1.3
	LIBC_4_5_18:1.1.1.3
	LIBC_4_5_17:1.1.1.3
	LIBC_4_5_16:1.1.1.3
	LIBC_4_5_15:1.1.1.3
	LIBC_4_5_14:1.1.1.3
	LIBC_4_5_13:1.1.1.3
	LIBC_4_5_12:1.1.1.3
	LIBC_4_5_11:1.1.1.3
	LIBC_4_5_10:1.1.1.2
	LIBC_4_5_9:1.1.1.1
	LIBC_4_5_8:1.1.1.1
	LIBC_4_5_7:1.1.1.1
	LIBC:1.1.1;
locks; strict;
comment	@# @;


1.1
date	93.12.14.16.58.53;	author steinber;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.12.14.16.58.54;	author steinber;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.01.13.12.16.46;	author steinber;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	94.01.19.16.25.13;	author steinber;	state Exp;
branches;
next	;


desc
@@



1.1
log
@Initial revision
@
text
@#
# Makefile for crt0.o of Linux
#
#

include ../../Makeconfig

ifndef OPTFLAGS
OPTFLAGS= -O6 -fomit-frame-pointer
endif

CFLAGS = $(WFLAGS) $(OPTFLAGS) $(INC) $(XCFLAGS)

ifdef PROFILE

OBJS  = gcrt0.o

TARGET=profile

else

OBJS  = crt0.o

TARGET=normal

endif

.SUFFIXES:
.SUFFIXES: .S .o .c .s

.s.o :
	$(CC) $(CFLAGS) -c $<
#	$(LD) $(LDFLAGS) $*.o
#	$(MV) a.out $*.o

.S.o :
	$(CC) $(CFLAGS) -c $<
#	$(LD) $(LDFLAGS) $*.o
#	$(MV) a.out $*.o

.c.o :
	$(CC) $(CFLAGS) -c $<
#	$(LD) $(LDFLAGS) $*.o
#	$(MV) a.out $*.o

.c.s :
	$(CC) $(CFLAGS) -S $<

all: $(OBJS)


install: $(OBJS) $(TARGET)

normal:
	cp $(OBJS) $(TARGET_LIB_DIR)

profile:
	cp $(OBJS) $(TARGET_LIBEXTRA_DIR)

clean:
	$(RM) -f core *.o *.a tmp_make foo

depend:
	@@echo No dependency in ./sbin/crt.
@


1.1.1.1
log
@LIBC_4_5_7
@
text
@@


1.1.1.2
log
@LIBC_4_5_10
@
text
@d6 1
a6 2
LD=true
MV=true
d8 3
a10 2
include ../../../../Makeconfig
include ../../../../Makerules
d12 1
d14 1
a14 1
all lib: crt0.o
d16 1
d18 43
a60 1
realclean clean:
d64 1
a64 1
	@@echo No dependency in $(SUBDIR).
@


1.1.1.3
log
@LIBC_4_5_11
@
text
@d9 2
a10 1
TOPDIR=../../../..
a11 2
include $(TOPDIR)/Makeconfig
include $(TOPDIR)/Makerules
d15 1
@
