[7f9531]: Makefile  Maximize  Restore  History

Download this file

43 lines (30 with data), 980 Bytes

 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
#~~syntax:makefile
# Enable this if you need:
#LDFLAGS += -L/usr/X11R6/lib -L/usr/local/opengl/lib \
# -lGL -lX11 -lXext -lXmu -lXi
DEBUG := 0
# Don't change below this point
#
include makevars.inc
CFLAGS += ${EXT_CFLAGS}
LDFLAGS += ${EXT_LDFLAGS}
### Base targets --------------------------------------------------------------
#
.PHONY: all clean distclean
all: asteroids3D;
asteroids3D: main.o asteroid.o calc_frame.o collision.o display.o dust.o \
explosion.o hud.o keyb.o light.o move.o oglutils.o pause.o rcfile.o \
score.o shield.o sound.o split.o sun.o target.o texture.o thrust.o \
torpedo.o vecops.o view.o wind_part.o
${VECHO_LD}
${LD} -o $@ $^ ${LDFLAGS} -lGLU -lglut -lm -lpthread;
${STRIP} -s $@;
%.o: %.c
${VECHO_CC}
${CC} ${CFLAGS} -Wp,-MMD,$(@D)/.$(@F).d -c -o $@ $<;
clean:
rm -f *.o asteroids3D;
distclean: clean
rm -f .*.d;
-include .*.d
#==============================================================================

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks