Modified the Makefile of Lesson? to allow make all to also make the exercises
It need to be modified anyway into Makefile.am stuff
This commit is contained in:
parent
890218e270
commit
97486fba28
3 changed files with 15 additions and 9 deletions
|
|
@ -1,12 +1,14 @@
|
|||
.cpp: ; g++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -o $@ $*.cpp ../../src/libeo.a ../../src/utils/libeoutils.a
|
||||
.cpp: ; c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -o $@ $*.cpp ../../src/libeo.a ../../src/utils/libeoutils.a
|
||||
|
||||
.cpp.o: ; g++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -c $*.cpp
|
||||
.cpp.o: ; c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -c $*.cpp
|
||||
|
||||
secondEA = SecondBitEA
|
||||
|
||||
ALL = $(secondEA) exercise1 exercise2 exercise3
|
||||
ALL = $(secondEA) exercise3.1
|
||||
|
||||
lesson3 : $(secondEA)
|
||||
|
||||
all : $(ALL)
|
||||
|
||||
clean :
|
||||
@/bin/rm $(ALL) *.o *.sav *.xg *.status *~
|
||||
|
|
|
|||
Reference in a new issue