Makefile 281 B

1234567891011
  1. CFLAGS=-std=c99 -Wall -Wextra
  2. all:
  3. gcc main.c io.c idea.c bits-set/bits.c -o main ${CFLAGS} -O2
  4. test:
  5. gcc idea.c idea_test.c io.c bits-set/bits.c -o idea_test ${CFLAGS}
  6. bash -c 'echo "Start Testing"; ./idea_test'
  7. clean:
  8. rm -rf main 2> /dev/null
  9. rm -rf idea_test 2> /dev/null