Simple Terminal from SuckLess
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.

28 lines
685 B

10 years ago
  1. # st version
  2. VERSION = 0.5
  3. # Customize below to fit your system
  4. # paths
  5. PREFIX = /usr/local
  6. MANPREFIX = ${PREFIX}/share/man
  7. X11INC = /usr/X11R6/include
  8. X11LIB = /usr/X11R6/lib
  9. # includes and libs
  10. INCS = -I. -I/usr/include -I${X11INC} \
  11. `pkg-config --cflags fontconfig` \
  12. `pkg-config --cflags freetype2`
  13. LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
  14. `pkg-config --libs fontconfig` \
  15. `pkg-config --libs freetype2`
  16. # flags
  17. CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
  18. CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
  19. LDFLAGS += -g ${LIBS}
  20. # compiler and linker
  21. # CC = cc