12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- TOPDIR=../
- include $(TOPDIR)Rules.make
- LIBC=$(TOPDIR)libc.a
- CSRC=localtime.c gmtime.c asctime.c ctime.c asc_conv.c tm_conv.c mktime.c \
- localtime_r.c gmtime_r.c asctime_r.c ctime_r.c
- COBJS=$(patsubst %.c,%.o, $(CSRC))
- OBJS=$(COBJS)
- all: $(OBJS) $(LIBC)
- $(LIBC): ar-target
- ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
- $(OBJS): Makefile
- clean:
- rm -f *.[oa] *~ core
|