diff options
Diffstat (limited to 'nx-X11/extras/Mesa_6.4.1/src/glut/ggi/Makefile')
-rw-r--r-- | nx-X11/extras/Mesa_6.4.1/src/glut/ggi/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa_6.4.1/src/glut/ggi/Makefile b/nx-X11/extras/Mesa_6.4.1/src/glut/ggi/Makefile new file mode 100644 index 000000000..61cfceeb2 --- /dev/null +++ b/nx-X11/extras/Mesa_6.4.1/src/glut/ggi/Makefile @@ -0,0 +1,52 @@ +# Makefile for GLUT for ggi + +TOP = ../../.. + +include $(TOP)/configs/current + + +##### MACROS ##### + +GLUT_MAJOR = 3 +GLUT_MINOR = 7 +GLUT_TINY = 1 + +SOURCES = \ + ggiglut.c + + +OBJECTS = $(SOURCES:.c=.o) + + +##### RULES ##### + +.c.o: + $(CC) -c -I$(TOP)/include $(CFLAGS) $(GLUT_CFLAGS) $< + + + +##### TARGETS ##### + +default: $(LIB_DIR)/$(GLUT_LIB_NAME) + + +# Make the library +$(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) + $(TOP)/bin/mklib -o $(GLUT_LIB) -linker '$(CC)' \ + -major $(GLUT_MAJOR) -minor $(GLUT_MINOR) \ + -patch $(GLUT_TINY) $(MKLIB_OPTIONS) -install $(LIB_DIR) \ + $(GLUT_LIB_DEPS) $(OBJECTS) + + +clean: + -rm -f *.o *~ + -rm -f *.lo + -rm -f *.la + -rm -rf .libs + + +depend: $(SOURCES) + touch depend + $(MKDEP) $(MKDEP_OPTIONS) -I$(TOP)/include $(SOURCES) + +include depend |