aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/apps/Makefile
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-12 08:14:26 +0000
committermarha <marha@users.sourceforge.net>2010-04-12 08:14:26 +0000
commitb71f397671d4b467bfac21f208d54d2dc507969c (patch)
treeab3c297acbab71e2e4b931498a3ccb5606312eb5 /mesalib/src/glsl/apps/Makefile
parent3200d6ff03510274923eb148659cf4d65fa6c1d6 (diff)
downloadvcxsrv-b71f397671d4b467bfac21f208d54d2dc507969c.tar.gz
vcxsrv-b71f397671d4b467bfac21f208d54d2dc507969c.tar.bz2
vcxsrv-b71f397671d4b467bfac21f208d54d2dc507969c.zip
Added some more needed files from mesa-7.8
Diffstat (limited to 'mesalib/src/glsl/apps/Makefile')
-rw-r--r--mesalib/src/glsl/apps/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/mesalib/src/glsl/apps/Makefile b/mesalib/src/glsl/apps/Makefile
new file mode 100644
index 000000000..39a0df7fe
--- /dev/null
+++ b/mesalib/src/glsl/apps/Makefile
@@ -0,0 +1,43 @@
+# src/glsl/apps/Makefile
+
+TOP = ../../..
+
+include $(TOP)/configs/current
+
+LIBS = \
+ $(TOP)/src/glsl/pp/libglslpp.a \
+ $(TOP)/src/glsl/cl/libglslcl.a
+
+SOURCES = \
+ compile.c \
+ process.c \
+ purify.c \
+ tokenise.c \
+ version.c
+
+APPS = $(SOURCES:%.c=%)
+
+INCLUDES = -I.
+
+
+##### RULES #####
+
+.SUFFIXES:
+.SUFFIXES: .c
+
+.c:
+ $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $< $(LIBS) -o $@
+
+.c.o:
+ $(APP_CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $< -o $@
+
+
+##### TARGETS #####
+
+default: $(APPS)
+
+install:
+
+clean:
+ -rm -f $(APPS)
+ -rm -f *.o