Makefile 331 B

123456789101112131415161718
  1. CFLAGS=-D_DEBUG -g -O0 -pedantic -std=c99 -Wall -Wextra -Werror
  2. DIRS=-I./libharu/include -L./libharu/src
  3. LIBS=-lhpdf -lm -lz
  4. OUTPUT=harun
  5. OBJFILES=main.o utf8_m.o resume_parse.o unicode_to_pdf.o
  6. all: $(OBJFILES)
  7. $(CC) $(DIRS) -o $(OUTPUT) $^ $(LIBS)
  8. %.o: %.c
  9. $(CC) -c $(DIRS) $(CFLAGS) -o $@ $^
  10. clean:
  11. rm -f *.o $(OUTPUT)