Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
Weilei uses root on qlab-gpu-8-1 committed Aug 8, 2024
1 parent 9b9852e commit 1217a6e
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@ mmio.o: mmio.c mmio.h makefile
test: test.c dist_m4ri.c dist_m4ri.h util_io.o util_m4ri.o mmio.o dist_cc.o makefile
${CC} ${CFLAGS} -DSTANDALONE -o test $< dist_cc.o mmio.o util_m4ri.o util_io.o -lm4ri -lm

test.o: test.c util_m4ri.c util_m4ri.h mmio.h makefile
${CC} ${CFLAGS} -c -o test.o $<

run-test:
echo "start test"
./dist_m4ri method=1
./dist_m4ri method=2
./test method=1 debug=0
echo "finish test"

clean:
rm -f *~ *.tmp *.out *.o ../input/*~ ../examples/*~ TAGS
Expand Down Expand Up @@ -70,9 +73,4 @@ give_help:
@echo " - On a Mac, you may want to disable '\e[32m-march=native\e[0m' compiler switch by running"
@echo "\t\e[36m make dist_m4ri OPT='-g -mtune=native -O3'\e[0m"

run-test:
echo "start test"
./dist_m4ri method=1
./dist_m4ri method=2
./test method=1 debug=0
echo "finish test"

0 comments on commit 1217a6e

Please sign in to comment.