Makefile

util/stat/Makefile · 331 B

From the archive Mordor4_Utils.tgz

Download the archive   « Back to the archive contents

CFLAGS = -g -DCOMPRESS
LIBS = -lm 
CC = cc

OBJECTS = gstat.o utils.o compress.o

OBJECTS2 = stat.o utils.o compress.o

gstat: $(OBJECTS)
	$(CC) $(CFLAGS) $(OBJECTS) -o playerstats $(LIBS)
	chmod o-rwx playerstats
stat:  $(OBJECTS2)
	$(CC) $(CFLAGS) $(OBJECTS2) -o roomstats $(LIBS)
	chmod o-rwx roomstats

clean: 
	rm $(OBJECTS) 

Site Stats

Snippets: 1791
Codebases: 571