Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CC=g++
- CFLAGS=-I –O3 -Wall
- OBJ = serialDithering.o paralellDithering.o
- serialDithering: serialDithering.o
- g++ -o $@ $^
- paralellDithering: paralellDithering.o
- $(CC) -pthread -o $@ $^
- %.o: %.cpp $(DEPS)
- $(CC) -c -o $@ $< $(CFLAGS)
- test1: serialDithering
- ./serialDithering oimage.txt mask.txt oDitheredImage.txt
- test2: paralellDithering
- ./paralellDithering oimage.txt mask.txt oDitheredImage.txt 2
- test3: paralellDithering
- ./paralellDithering oimage.txt mask.txt oDitheredImage.txt 3
- test4: paralellDithering
- ./paralellDithering oimage.txt mask.txt oDitheredImage.txt 4
- clean:
- rm -f *.o *~ core
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement