Makefile (kdbg-3.0.0) | : | Makefile (kdbg-3.0.1) | ||
---|---|---|---|---|
CXXFLAGS=-O0 -g | CXXFLAGS=-O0 -g | |||
QT3 = /usr/lib64/qt3 | QT5INC = -I/usr/include/qt5 -fPIC | |||
QT3INC = -I$(QT3)/include | QT5LIB = /usr/lib64/libQt5Core.so | |||
QT3LIB = $(QT3)/lib64/libqt-mt.so | ||||
PROGS = \ | PROGS = \ | |||
anonstruct \ | anonstruct \ | |||
funcnames \ | ||||
helloworld \ | helloworld \ | |||
lambda \ | ||||
locals \ | locals \ | |||
longdouble \ | longdouble \ | |||
maths \ | maths \ | |||
multibrkpt \ | multibrkpt \ | |||
nestedclass \ | nestedclass \ | |||
qt \ | qt \ | |||
repeats \ | repeats \ | |||
std \ | std \ | |||
templates \ | templates \ | |||
testfile \ | testfile \ | |||
tooltips \ | tooltips \ | |||
widechar | widechar | |||
all: $(PROGS) | all: $(PROGS) | |||
anonstruct: anonstruct.cpp | anonstruct: anonstruct.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
funcnames: funcnames.cpp | ||||
g++ --std=c++11 -o $@ $(CXXFLAGS) $^ | ||||
helloworld: helloworld.asm | helloworld: helloworld.asm | |||
nasm -f elf64 -F dwarf -g $^ -o $(^:.asm=.o) | nasm -f elf64 -F dwarf -g $^ -o $(^:.asm=.o) | |||
ld -g -o $@ $(^:.asm=.o) | ld -g -o $@ $(^:.asm=.o) | |||
lambda: lambda.cpp | ||||
g++ --std=c++0x -o $@ $(CXXFLAGS) $^ | ||||
locals: locals.cpp | locals: locals.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
longdouble: longdouble.c | longdouble: longdouble.c | |||
gcc -o $@ $(CXXFLAGS) $^ | gcc -o $@ $(CXXFLAGS) $^ | |||
maths: maths.cpp | maths: maths.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
multibrkpt: multibrkpt.cpp | multibrkpt: multibrkpt.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
nestedclass: nestedclass.cpp | nestedclass: nestedclass.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
qt: qt.cpp | qt: qt.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ $(QT3INC) $(QT3LIB) | g++ -o $@ $(CXXFLAGS) $^ $(QT5INC) $(QT5LIB) | |||
repeats: repeats.cpp | repeats: repeats.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ $(QT3INC) $(QT3LIB) | g++ -o $@ $(CXXFLAGS) $^ $(QT5INC) $(QT5LIB) | |||
std: std.cpp | std: std.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
templates: templates.cpp | templates: templates.cpp | |||
g++ -std=c++0x -o $@ $(CXXFLAGS) $^ | g++ -std=c++0x -o $@ $(CXXFLAGS) $^ | |||
testfile: testfile.cpp | testfile: testfile.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ $(QT3INC) $(QT3LIB) | g++ -o $@ $(CXXFLAGS) $^ $(QT5INC) $(QT5LIB) | |||
tooltips: tooltips.cpp | tooltips: tooltips.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
widechar: widechar.cpp | widechar: widechar.cpp | |||
g++ -o $@ $(CXXFLAGS) $^ | g++ -o $@ $(CXXFLAGS) $^ | |||
clean: | clean: | |||
$(RM) $(PROGS) | $(RM) $(PROGS) | |||
End of changes. 8 change blocks. | ||||
10 lines changed or deleted | 9 lines changed or added |