Makefile.master
tmi2/v21.7a10/mudlib/Makefile.master · 301 B
From the archive tmi2_mudos_v1.tar.gz
Download the archive « Back to the archive contents
OBJ=interface.o SRC=interface.c %ifdef GNU OBJ=$(addprefix $(OBJDIR)/,$(subst .c,.o,$(SRC))) $(OBJDIR)/%.o: %.c $(CC) -I$(OBJDIR) -I.. $(CFLAGS) -o $@ -c $< %else .c.o: $(CC) $(CFLAGS) -I.. -c $*.c %endif all: $(OBJ) ar rcu mudlib.a $(OBJ) ranlib mudlib.a clean: -rm -f *.o -rm -f mudlib.a