File: Makefile

package info (click to toggle)
libsfml 1.6%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,756 kB
  • ctags: 38,139
  • sloc: cpp: 27,830; ansic: 3,963; makefile: 483
file content (18 lines) | stat: -rwxr-xr-x 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
EXEC = opengl
OBJ  = OpenGL.o

all: $(EXEC)

opengl: $(OBJ)
	$(CC) $(LDFLAGS) -o $(EXECPATH)/$@ $(OBJ) -lsfml-graphics -lsfml-window -lsfml-system -lGLU -lGL

%.o: %.cpp
	$(CC) -o $@ -c $< $(CFLAGS)

.PHONY: clean mrproper

clean:
	@rm -rf *.o

mrproper: clean
	@rm -rf $(EXECPATH)/$(EXEC)