Changes

Jump to: navigation, search

GPU610/NullPointerException

691 bytes added, 21:46, 6 March 2013
Saad Mohammad:
::::324KB
::::1598 x 982
 
::CUSTOM MAKEFILE:
<pre>
# Makefile for Assignment 1
# Saad Mohammad
#
 
GCC_VERSION = 4.7.1
PREFIX = /usr/local/gcc/${GCC_VERSION}/bin/
CC = ${PREFIX}gcc
CPP = ${PREFIX}g++
 
image_encrypt: main.o encryptjpeg.o accessjpeg.o aesencrypt.o
$(CPP) -pg -ow1 main.o encryptjpeg.o accessjpeg.o aesencrypt.o -o image_encrypt
rm *.o
chmod +x+x+x image_encrypt
 
main.o: main.cpp
$(CPP) -c -O2 -g -pg -std=c++0x main.cpp
 
encryptjpeg.o: encryptjpeg.cpp
$(CPP) -c -O2 -g -pg -std=c++0x encryptjpeg.cpp
 
accessjpeg.o: accessjpeg.cpp
$(CPP) -c -O2 -g -pg -std=c++0x accessjpeg.cpp
 
aesencrypt.o: aesencrypt.cpp
$(CPP) -c -O2 -g -pg -std=c++0x aesencrypt.cpp
 
clean:
rm -f image_encrypt *.o
</pre>
===== PROFILING RESULTS =====

Navigation menu