next up previous contents index
Next: Index Up: The Sources Previous: Main.cc

Makefile

FREEBSD=-DMS_SYNC=MS_ASYNC
LINUX=
ARCHOPT=$(LINUX)
CFLAGS=-Wall -g -O3 $(ARCHOPT) -fno-default-inline
#CFLAGS=-Wall -DDEBUG -g
#CFLAGS=-Wall -g

.cc.o::
        g++ $(CFLAGS) -o $*.o -c $*.cc

PersistentStorage: PersistentStorage.o Main.o
        g++ $(CFLAGS) -o $@ PersistentStorage.o Main.o

PersistentStorage.o:: PersistentStorage.cc PersistentStorage.h FileStat.h\
        SortedTable.h

Main.o:: Main.cc PersistentStorage.h

clean:
        rm -rf *.o PersistentStorage



Mori Tetsuya / t2y3141592@gmail.com