Rename readme.txt to readme.md

This commit is contained in:
qPCR4vir
2015-11-24 08:54:50 +01:00
parent c5afe06ecd
commit 8178f68545

31
build/makefile/readme.md Normal file
View File

@@ -0,0 +1,31 @@
Building Nana C++ Library
requires:
X11, pthread, Xpm, rt, dl, freetype2, Xft, fontconfig, ALSA
Writing a makefile for creating applications with Nana C++ Library
-------------------
GCC = g++
NANAPATH = [The folder of Nana C++ Library]
BIN = [The bin file what you want to create.]
SOURCES = [The source file of your application.]
NANAINC = $(NANAPATH)/include
NANALIB = $(NANAPATH)/build/bin
INCS = -I$(NANAINC)
LIBS = -L$(NANALIB) -lnana -lX11 -lpthread -lrt -lXft -lpng -lasound
LINKOBJ = $(SOURCES:.cpp=.o)
$(BIN): $(LINKOBJ) $(NANALIB)/libnana.a
$(GCC) $(LINKOBJ) $(INCS) $(LIBS) -o $(BIN) -std=c++0x
.cpp.o:
$(GCC) -g -c $< -o $@ $(INCS) -std=c++0x
$(NANALIB):
make -f $(NANAPATH)/build/makefile/makefile
clean:
rm -f $(LINKOBJ)
-------------------