bakineggs (owner)

Revisions

gist: 60619 Download_button fork
public
Public Clone URL: git://gist.github.com/60619.git
Embed All Files: show embed
Makefile #
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
COMPILER = g++
COMPILER_OPTS = -O0 -Wall -c -g
 
LINKER = g++
LINKER_OPTS = -o
 
testscene: testscene.o scene.o image.o EasyBMP.o
$(LINKER) $(LINKER_OPTS) testscene testscene.o scene.o image.o EasyBMP.o
 
testimage: testimage.o image.o EasyBMP.o
$(LINKER) $(LINKER_OPTS) testimage testimage.o image.o EasyBMP.o
 
testscene.o: image.o testscene.cpp
$(COMPILER) $(COMPILER_OPTS) testscene.cpp
 
testimage.o: image.o testimage.cpp
$(COMPILER) $(COMPILER_OPTS) testimage.cpp
 
scene.o: image.o scene.h scene.cpp
$(COMPILER) $(COMPILER_OPTS) scene.cpp
 
image.o: EasyBMP.o image.h image.cpp
$(COMPILER) $(COMPILER_OPTS) image.cpp
 
EasyBMP.o: EasyBMP.h EasyBMP.cpp
$(COMPILER) $(COMPILER_OPTS) EasyBMP.cpp
 
clean:
rm -f *.o testscene testimage