Modify makefile
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
all:
|
||||
clean:
|
||||
mkdir -p student_out
|
||||
rm student_out/*
|
||||
rm a.out
|
||||
|
||||
build:
|
||||
gcc -g -O0 ./code/*.c -lm
|
||||
1:
|
||||
./a.out F < in/all_known_in_advance_spaces.in > student_out/f-in-advance.out && diff student_out/f-in-advance.out out/f-in-advance.out
|
||||
@ -13,3 +18,6 @@ all:
|
||||
6:
|
||||
./a.out C < in/time_dependent_second_spaces.in > student_out/c-time_dependent_second.out && diff student_out/c-time_dependent_second.out out/c-time_dependent_second.out
|
||||
|
||||
test: build 1 2 3 4 5 6
|
||||
|
||||
all: clean build test
|
Reference in New Issue
Block a user