-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
19 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,24 @@ | ||
SHELL = /bin/sh | ||
|
||
all: ppmrw.o | ||
|
||
ppmrw.o: | ||
build: | ||
gcc ppmrw.c -o ppmrw.o | ||
|
||
clean : | ||
clean: | ||
rm -f *.o | ||
rm -f new_*.ppm | ||
|
||
rebuild: clean ppmrw.o | ||
|
||
test6: | ||
./ppmrw.o 6 P6I.ppm new_P6I.ppm | ||
test3: | ||
./ppmrw.o 3 P3I.ppm new_P3I.ppm | ||
retest6: clear rebuild test6 | ||
|
||
clear : | ||
clear | ||
|
||
retest36: clear rebuild | ||
./ppmrw.o 6 P3I.ppm new_P6I.ppm | ||
|
||
smalltest6: clear rebuild | ||
./ppmrw.o 6 B6.ppm new_B6.ppm | ||
smalltest3: clear rebuild | ||
./ppmrw.o 3 B3.ppm new_B3.ppm | ||
rebuild: clean build | ||
|
||
p3to3: | ||
./ppmrw.o 3 P3I.ppm new_P3I_3.ppm | ||
p3to6: | ||
./ppmrw.o 6 P3I.ppm new_P6I_3.ppm | ||
p6to3: | ||
./ppmrw.o 3 P6I.ppm new_P3I_6.ppm | ||
p6to6: | ||
./ppmrw.o 6 P6I.ppm new_P6I_6.ppm | ||
|
||
fullTest: rebuild clear p3to3 p3to6 p6to3 p6to6 |