Merge branch 'nouveau-import'
[mesa.git] / progs / beos / Makefile
1 # progs/beos/Makefile
2
3 TOP = ../..
4 include $(TOP)/configs/current
5
6 # Makefile for BeOS demos
7
8 # Written by Brian Paul
9 # This file is in the public domain.
10 #
11 # Modified by Philippe Houdoin
12
13 LDFLAGS += -soname=_APP_ $(APP_LIB_DEPS)
14
15 INCLUDES = -I. -I- -I../../include
16
17 default: demo sample GLInfo
18
19 clean:
20 rm -f demo sample GLInfo
21 rm -f *.o
22
23 demo: demo.o
24 $(LD) demo.o $(LDFLAGS) -o $@
25
26 sample: sample.o
27 $(LD) sample.o $(LDFLAGS) -o $@
28
29 GTLInfo: GLInfo.o
30 $(LD) GLInfo.o $(INCLUDES) $(LDFLAGS) -o $@
31
32 .cpp.o:
33 $(CC) -c $< $(INCLUDES) $(CFLAGS) -o $@