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.

30 lines
612 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 -L${X11LIB} -lX11 -lutil
  12. # uncomment manualy your system if compilation fail
  13. SYSTEM = -D`uname | tr a-z A-Z`
  14. #SYSTEM = -DLINUX
  15. #SYSTEM = -DOPENBSD
  16. #SYSTEM = -DFREEBSD
  17. #SYSTEM = -DNETBSD
  18. # flags
  19. CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
  20. CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
  21. LDFLAGS = -s ${LIBS}
  22. # compiler and linker
  23. CC = cc