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.

35 lines
876 B

3 years ago
  1. # st version
  2. VERSION = 0.8.4
  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. PKG_CONFIG = pkg-config
  10. # includes and libs
  11. INCS = -I$(X11INC) \
  12. `$(PKG_CONFIG) --cflags fontconfig` \
  13. `$(PKG_CONFIG) --cflags freetype2`
  14. LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft -lXrender\
  15. `$(PKG_CONFIG) --libs fontconfig` \
  16. `$(PKG_CONFIG) --libs freetype2`
  17. # flags
  18. STCPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
  19. STCFLAGS = $(INCS) $(STCPPFLAGS) $(CPPFLAGS) $(CFLAGS)
  20. STLDFLAGS = $(LIBS) $(LDFLAGS)
  21. # OpenBSD:
  22. #CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 -D_BSD_SOURCE
  23. #LIBS = -L$(X11LIB) -lm -lX11 -lutil -lXft \
  24. # `$(PKG_CONFIG) --libs fontconfig` \
  25. # `$(PKG_CONFIG) --libs freetype2`
  26. # compiler and linker
  27. # CC = c99