diff options
Diffstat (limited to 'nx-X11/extras/Mesa_6.4.1/src/egl/drivers/demo/Makefile')
-rw-r--r-- | nx-X11/extras/Mesa_6.4.1/src/egl/drivers/demo/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nx-X11/extras/Mesa_6.4.1/src/egl/drivers/demo/Makefile b/nx-X11/extras/Mesa_6.4.1/src/egl/drivers/demo/Makefile new file mode 100644 index 000000000..fd587b79e --- /dev/null +++ b/nx-X11/extras/Mesa_6.4.1/src/egl/drivers/demo/Makefile @@ -0,0 +1,31 @@ +# src/egl/drivers/demo/Makefile + +TOP = ../../../.. +include $(TOP)/configs/current + + +INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/egl/main + + +SOURCES = demo.c + +OBJECTS = $(SOURCES:.c=.o) + + +.c.o: + $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ + + + +default: $(LIB_DIR)/demodriver.so + + +$(LIB_DIR)/demodriver.so: $(OBJECTS) + $(TOP)/bin/mklib -o demodriver.so -noprefix \ + -install $(LIB_DIR) $(OBJECTS) + + + +clean: + rm -f *.o + rm -f *.so |