123456789101112131415161718 |
- CFLAGS=-g -m32
- TESTFILES=\
- test1.txt test2.txt test3.txt \
- test4.txt test5.txt test6.txt \
- test7.txt test8.txt
-
- test: test-oblig3.c oppgave.s
- gcc $(CFLAGS) -o test $^
-
- run-test: test
- valgrind ./test
- rm -f $(TESTFILES)
-
- clean:
- rm -f test
- rm -f $(shell find . -name 'test*.txt')
-
- .PHONY: run-test clean
|