Skip to content
Snippets Groups Projects
Makefile 439 B
Newer Older
ABBAS's avatar
ABBAS committed
all: bin/test

bin/test: bin/mainTest.o bin/Pixel.o bin/Image.o
	g++ -g bin/mainTest.o bin/Pixel.o bin/Image.o -o bin/test

bin/mainTest.o: src/mainTest.cpp src/Pixel.h
	g++ -g -Wall -c src/mainTest.cpp -o bin/mainTest.o

bin/Pixel.o: src/Pixel.cpp src/Pixel.h
	g++ -g -Wall -c src/Pixel.cpp -o bin/Pixel.o
	
bin/Image.o: src/Image.cpp src/Image.h
	g++ -g -Wall -c src/Image.cpp -o bin/Image.o
	
clean:
	rm *.o

veryclean: clean
	rm *.out