Added -perf option to measure frame rate. This is useful for measuring
[mesa.git] / progs / samples / Makefile.DJ
1 # $Id: Makefile.DJ,v 1.1 1999/08/19 00:55:41 jtg Exp $
2
3 # Makefile for sample programs for MS-DOS with DJGPP
4
5 ##### MACROS #####
6
7 INCDIR = ../include
8
9 GL_LIBS = ../lib/dosglut.a ../lib/dosglub.a ../lib/dosmesa.a
10
11 LIB_DEP = $(GL_LIBS)
12
13 PROGS = accum bitmap1 bitmap2 blendeq blendxor copy depth \
14 eval fog font line logo nurb olympic \
15 point prim quad select shape \
16 sphere star stencil stretch texture \
17 tri wave
18
19 ##### RULES #####
20
21 .c: $(LIB_DEP)
22 gcc -I$(INCDIR) $(CFLAGS) $< $(LIB_DEP) -o $@
23
24
25 ##### TARGETS #####
26
27 default: $(PROGS)
28
29 clean:
30 del *.
31
32 realclean: clean
33 del *.exe
34
35
36