My build of suckless st terminal
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.

34 lines
666 B

  1. # st version
  2. VERSION = 0.0
  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. LIBS = -L/usr/lib -lc
  12. X11LIBS = -L${X11LIB} -lX11
  13. # glibc
  14. CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
  15. # flags
  16. #CPPFLAGS = -DVERSION=\"${VERSION}\"
  17. CFLAGS = -Os ${INCS} ${CPPFLAGS}
  18. LDFLAGS = -s ${LIBS}
  19. X11LDFLAGS = ${X11LIBS}
  20. #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS}
  21. #LDFLAGS = -g ${LIBS}
  22. # Solaris
  23. #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
  24. #LDFLAGS = ${LIBS}
  25. # compiler and linker
  26. CC = cc