Makefile 263 B

1234567891011121314151617
  1. TOPDIR=../
  2. include $(TOPDIR)Rules.make
  3. LIBC=../libc.a
  4. OBJ=rx.o
  5. all: $(LIBC)
  6. $(LIBC): $(LIBC)($(OBJ))
  7. $(LIBC)(rx.o): rx.c
  8. $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
  9. $(AR) $(ARFLAGS) $@ $*.o
  10. clean:
  11. rm -f libc.a *.o core mon.out timer.t.h dMakefile dtr try timer