GNUmakefile

v22.2b14/mudlib/GNUmakefile · 260 B

From the archive beta.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