diff options
author | Brian Paul <[email protected]> | 2005-04-22 21:09:39 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-04-22 21:09:39 +0000 |
commit | adbff7e977c7c768e752a24fb643d68bdf961bfe (patch) | |
tree | 8ad42d96c55f25fe05921792507bc9b69d82e8f3 /src/egl/drivers/demo/Makefile | |
parent | a661654a33ba38990719ac9f5aea2910a5d5bf77 (diff) |
initial EGL code
Diffstat (limited to 'src/egl/drivers/demo/Makefile')
-rw-r--r-- | src/egl/drivers/demo/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/egl/drivers/demo/Makefile b/src/egl/drivers/demo/Makefile new file mode 100644 index 00000000000..fd587b79e27 --- /dev/null +++ b/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 |