37 lines
589 B
Makefile
37 lines
589 B
Makefile
# $Id: Makefile.DJ,v 1.1 1999/08/19 00:55:41 jtg Exp $
|
|
|
|
# Makefile for sample programs for MS-DOS with DJGPP
|
|
|
|
##### MACROS #####
|
|
|
|
INCDIR = ../include
|
|
|
|
GL_LIBS = ../lib/dosglut.a ../lib/dosglub.a ../lib/dosmesa.a
|
|
|
|
LIB_DEP = $(GL_LIBS)
|
|
|
|
PROGS = accum bitmap1 bitmap2 blendeq blendxor copy depth \
|
|
eval fog font line logo nurb olympic \
|
|
point prim quad select shape \
|
|
sphere star stencil stretch texture \
|
|
tri wave
|
|
|
|
##### RULES #####
|
|
|
|
.c: $(LIB_DEP)
|
|
gcc -I$(INCDIR) $(CFLAGS) $< $(LIB_DEP) -o $@
|
|
|
|
|
|
##### TARGETS #####
|
|
|
|
default: $(PROGS)
|
|
|
|
clean:
|
|
del *.
|
|
|
|
realclean: clean
|
|
del *.exe
|
|
|
|
|
|
|