Last active
August 29, 2015 14:06
-
-
Save goyalankit/95ceaa92368f8e16954d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: clean sph_out multi # deletes all object and executables before creating new ones! Remove clean for final submission. | |
multi: mph_out | |
multi_process_hash.o: | |
g++ -c multi_process_hash.cpp #-DDEBUG #-DSCHED_INFO #-DDEBUG # remove -DDEBUG to disable debug information | |
backgroundTask.o: | |
g++ -c backgroundTask.c | |
mph_out: city.o multi_process_hash.o backgroundTask.o | |
g++ city.o backgroundTask.o multi_process_hash.o -o mph_out | |
### Compile single process hash calculation files. | |
single: sph_out | |
sph_out: city.o single_process_hash.o | |
g++ city.o single_process_hash.o -o sph_out | |
city.o: | |
g++ -c city.cc | |
single_process_hash.o: | |
g++ -c single_process_hash.cc | |
clean: | |
rm -rf city.o single_process_hash.o multi_process_hash.o sph_out mph_out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment