1234567891011
  1. CC=gcc
  2. CFLAGS=-std=c89 -O2 -pedantic -Wall -I"./include"
  3. all:
  4. $(CC) $(CFLAGS) -g -o light src/helpers.c src/light.c src/main.c
  5. exp:
  6. $(CC) $(CFLAGS) -E src/helpers.c src/light.c
  7. clean:
  8. rm -vfr *~ light