University stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 312B

123456789101112131415161718
  1. CFLAGS=-g -m32
  2. TESTFILES=\
  3. test1.txt test2.txt test3.txt \
  4. test4.txt test5.txt test6.txt \
  5. test7.txt test8.txt
  6. test: test-oblig3.c oppgave.s
  7. gcc $(CFLAGS) -o test $^
  8. run-test: test
  9. valgrind ./test
  10. rm -f $(TESTFILES)
  11. clean:
  12. rm -f test
  13. rm -f $(shell find . -name 'test*.txt')
  14. .PHONY: run-test clean