diff options
Diffstat (limited to 'urt/Makefile')
-rw-r--r-- | urt/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/urt/Makefile b/urt/Makefile new file mode 100644 index 00000000..04dd2913 --- /dev/null +++ b/urt/Makefile @@ -0,0 +1,33 @@ +ifeq ($(SRCDIR)x,x) + SRCDIR = $(CURDIR)/.. + BUILDDIR = $(SRCDIR) +endif +SUBDIR = urt +VPATH=.:$(SRCDIR)/$(SUBDIR) + +include $(BUILDDIR)/Makefile.config + +LIBOBJECTS = Runput.o cmd_name.o \ + rle_addhist.o rle_error.o rle_getcom.o rle_getrow.o rle_getskip.o \ + rle_global.o rle_hdr.o rle_open_f.o rle_putcom.o rle_putrow.o \ + rle_row_alc.o \ + scanargs.o vaxshort.o + +MERGE_OBJECTS = + +all: librle.a + +librle.a: $(LIBOBJECTS) + rm -f $@ + ar rc $@ $^ + $(RANLIB) $@ + +# Rule for objects. +$(LIBOBJECTS): %.o: %.c importinc + $(CC) -c $(CFLAGS) -I importinc -o $@ $< $(CFLAGS_PERSONAL) $(CADD) + +BINARIES = +SCRIPTS = + +OMIT_URT_RULE = 1 +include $(SRCDIR)/Makefile.common |