Source

hello / c++ / Makefile

Full commit
#$Id: Makefile 78 2007-05-10 16:15:48Z kuenishi $

DEST=build/
TARGET=$(DEST)hellowav
SRCDIR=c++/
INCLUDE=-Iinclude/
FLAG = -g -O2 -DB_ENDIAN #-DDEBUG

OBJS=$(SRCDIR)wave.o $(SRCDIR)test.o

.cpp.o:
	$(CXX) $(INCLUDE) $(FLAG) -c $< -o $@

all: $(TARGET)
$(TARGET): $(OBJS)
	$(CXX) $(OBJS) -o $@

clean:
	rm $(TARGET) $(OBJS)

test: $(TARGET)
	./$(TARGET) /home/csj/vol03/R00F0028/R00F0028.wav