Makefile

mercnet/src/Makefile · 238 B

From the archive mercnet.tgz

Download the archive   « Back to the archive contents

CC      = g++
PROF    = -g -O2
NOCRYPT =
C_FLAGS = -Wall $(PROF) $(NOCRYPT)
L_FLAGS = $(PROF) -lcrypt

O_FILES = comm.o db.o

merc: $(O_FILES)
	rm -f merc
	$(CC) $(L_FLAGS) -o merc $(O_FILES) -lcrypt

.c.o: merc.h
	$(CC) -c $(C_FLAGS) $<

Site Stats

Snippets: 1791
Codebases: 571