Makefile.openbsd 414 B

123456789101112131415161718
  1. NAME = $(GLEW_NAME)
  2. CC ?= cc
  3. LD ?= cc
  4. LDFLAGS.EXTRA = -L$(X11BASE)/lib
  5. LDFLAGS.GL = -lm -lXmu -lXi -lGLU -lGL -lXext -lX11
  6. LDFLAGS.STATIC = -Wl,-Bstatic
  7. LDFLAGS.DYNAMIC = -Wl,-Bdynamic
  8. CFLAGS.EXTRA += -I$(X11BASE)/include
  9. NAME = GLEW
  10. WARN = -Wall -W
  11. POPT =
  12. CFLAGS.EXTRA += -fPIC
  13. BIN.SUFFIX =
  14. LIB.SHARED = lib$(NAME).so.$(LIBGLEW_VERSION)
  15. LIB.STATIC = lib$(NAME).a
  16. LDFLAGS.SO = -shared -fPIC
  17. SHARED_OBJ_EXT = pic_o