Makefile.old

cmud/src/Makefile.old · 428 B

From the archive cmud.tar.gz

Download the archive   « Back to the archive contents

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

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

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

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

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

Site Stats

Snippets: 1791
Codebases: 571