leet-code/two-sum/Makefile

8 lines
162 B
Makefile

twoSum: runTwoSum.c twoSum.c
gcc -Wall -std=gnu99 -g runTwoSum.c -o twoSum
run: twoSum
./twoSum
valgrind: twoSum
valgrind --leak-check=full ./twoSum -t 3 1 2