GNUmakefile

tmi2/v21.7a10/mudlib/GNUmakefile · 243 B

From the archive tmi2_mudos_v1.tar.gz

Download the archive   « Back to the archive contents

OBJ=interface.o
SRC=interface.c

OBJ=$(addprefix $(OBJDIR)/,$(subst .c,.o,$(SRC)))

$(OBJDIR)/%.o: %.c
	$(CC) -I$(OBJDIR) -I.. $(CFLAGS) -o $@ -c $<

all: $(OBJ)
	ar rcu mudlib.a $(OBJ)
	ranlib mudlib.a

clean:
	-rm -f *.o
	-rm -f mudlib.a


Site Stats

Snippets: 1791
Codebases: 571