Makefile 309 B

123456789101112131415
  1. .POSIX:
  2. .SUFFIXES:
  3. CC = gcc
  4. CFLAGS = -march=native -O0 -pipe
  5. FLAGS = -Wall -std=c99 -g `pkg-config --cflags --libs xcb`
  6. FILES = fittsen.c ini.c
  7. all: fittsen
  8. fittsen: ini.o fittsen.c
  9. $(CC) $(CFLAGS) -o fittsen fittsen.c ini.o $(FLAGS)
  10. ini.o: ini.c ini.h
  11. $(CC) -c $(CFLAGS) ini.c
  12. clean:
  13. rm -f fittsen ini.o