Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 57e73555793e2c20b990330cd6178bb3 > files > 21

libglfw-devel-2.6-5.fc12.x86_64.rpm


# Default: Build all tests
all: triangle listmodes mthello pong3d mtbench particles splitview \
     mipmaps keytest gears boing wave


# Rule for triangle
triangle: triangle.c
	$(CC) $(CFLAGS) triangle.c $(LFLAGS) -o $@

# Rule for listmodes
listmodes: listmodes.c
	$(CC) $(CFLAGS) listmodes.c $(LFLAGS) -o $@

# Rule for mthello
mthello: mthello.c
	$(CC) $(CFLAGS) mthello.c $(LFLAGS) -o $@

# Rule for pong3d
pong3d: pong3d.c
	$(CC) $(CFLAGS) pong3d.c $(LFLAGS) -o $@

# Rule for mtbench
mtbench: mtbench.c
	$(CC) $(CFLAGS) mtbench.c $(LFLAGS) -o $@

# Rule for particles
particles: particles.c
	$(CC) $(CFLAGS) particles.c $(LFLAGS) -o $@

# Rule for splitview
splitview: splitview.c
	$(CC) $(CFLAGS) splitview.c $(LFLAGS) -o $@

# Rule for mipmaps
mipmaps: mipmaps.c
	$(CC) $(CFLAGS) mipmaps.c $(LFLAGS) -o $@

# Rule for keytest
keytest: keytest.c
	$(CC) $(CFLAGS) keytest.c $(LFLAGS) -o $@

# Rule for gears
gears: gears.c
	$(CC) $(CFLAGS) gears.c $(LFLAGS) -o $@

# Rule for boing
boing: boing.c
	$(CC) $(CFLAGS) boing.c $(LFLAGS) -o $@

# Rule for wave
wave: wave.c
	$(CC) $(CFLAGS) wave.c $(LFLAGS) -o $@