Temporary prototypes of a document management program and gui toolkit I'm working on.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
550B

  1. # hotpot - simple literrature manager
  2. # bucket version
  3. VERSION = 1.0.0
  4. # btk
  5. BTK = btk
  6. BTKFILES = ${BTK}/btk.c ${BTK}/btk-window.c ${BTK}/btk-cell.c ${BTK}/btk-text.c ${BTK}/btk-log.c
  7. # external libraries
  8. LIBS = -lxcb -lcairo
  9. # flags
  10. CPPFLAGS = -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\"
  11. CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os
  12. # compiler and linker
  13. CC = cc
  14. hotpot:
  15. ${CC} -o hotpot main.c ${BTKFILES} ${CPPFLAGS} ${CFLAGS} ${LIBS}
  16. hello:
  17. ${CC} -o hello hello.c ${BTKFILES} ${CPPFLAGS} ${CFLAGS} ${LIBS}