blob: 39a0df7fea5ff2132cf6721dfc63183325c3199e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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
|