Temporary prototypes of a document management program and gui toolkit I'm working on.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

26 行
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}