gno/lib/libc/rules.mk

21 lines
373 B
Makefile
Raw Normal View History

#
1997-09-05 06:48:12 +00:00
# gno/lib/libc/rules.mk
#
# Default rules for libc (override of /usr/local/lib/startup.mk).
#
# Devin Reade, 1997
#
# $Id: rules.mk,v 1.3 1997/09/21 16:22:23 gdr Exp $
#
%.o: %.c
$(CC) -o $@ -c $(__OFLAG) $(CFLAGS) $<
%.o: %.asm
$(AS) -o $@ -c $(__OFLAG) $(ASFLAGS) $<
@$(RM) $*.root
1997-09-05 06:48:12 +00:00
../libc .PHONY: $(OBJS)
$(MAKELIB) $(MAKELIBFLAGS) -l $@ $(OBJS)
1997-09-05 06:48:12 +00:00