1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
###############################################################################
# $Header:$
###############################################################################
#
# Makefile
#
# Bradford W. Mott
# July 3,1994
#
###############################################################################
# $Log:$
###############################################################################
## Library to build
LIBRARY = libSound.a
INCLUDE = $(INCLUDES) -I../Tools -I../UI -I../Commands -I../Game
## List of object files that need to be made
OBJS = Sound.o SampleCollection.o Sample.o
all: $(LIBRARY)
install:
$(LIBRARY): $(OBJS)
$(AR) $(AR_CREATE_FLAGS) $(LIBRARY) $(OBJS)
$(RANLIB) $(LIBRARY)
.SUFFIXES: .cxx .a
.cxx.o:
$(CC) $(INCLUDE) -c $(CPPFLAGS) $*.cxx
clean:
rm -f *.o $(LIBRARY)
|