Makefile

wickedmud/src/Makefile · 444 B

From the archive wickedmud-1.0.tar.gz

Download the archive   « Back to the archive contents

CC      = gcc
C_FLAGS = -Wall -g -pedantic
L_FLAGS = -lz -lcrypt

O_FILES = socket.o io.o strings.o utils.o interpret.o help.o  \
	  action_safe.o save.o event.o event-handler.o \
	  list.o stack.o telopt.c tables.c

all: $(O_FILES)
	rm -f SocketMud
	$(CC) -o SocketMud $(O_FILES) $(L_FLAGS)

.c.o: all
	@echo [`date +%T`] Compiling $< ...
	@$(CC) -c $(C_FLAGS) $<

clean:
	@echo Cleaning code $< ...
	@rm -f *.o
	@rm -f SocketMud
	@rm -f *.*~

Site Stats

Snippets: 1791
Codebases: 571