Makefile 282 B

1234567891011121314151617181920
  1. # Makefile for the poker game
  2. # let's see how this goes
  3. CC=gcc
  4. CFLAGS=-Wall -std=c11 -g -O3
  5. LDFLAGS=
  6. all: deps
  7. mkdir -p bin/
  8. $(CC) $(CFLAGS) $(LDFLAGS) -o bin/poker *.o
  9. deps:
  10. $(CC) $(CFLAGS) -c *.c
  11. install:
  12. test -d ~/.local/bin && cp bin/poker ~/.local/bin/
  13. clean:
  14. rm *.o