Last change
on this file since 51c2318 was
f55088b,
checked in by ramon <ramongomez@…>, 14 years ago
|
Compilazión con optimización de código en rama principal (compilación con depuración solo para ramas de desarrollo).
git-svn-id: https://opengnsys.es/svn/trunk@1922 a21b9725-9963-47de-94b9-378ad31fedc9
|
-
Property mode set to
100644
|
File size:
555 bytes
|
Rev | Line | |
---|
[3ec149c] | 1 | # makefile |
---|
| 2 | |
---|
| 3 | # Nombre del proyecto |
---|
| 4 | PROYECTO := ogAdmClient |
---|
| 5 | |
---|
| 6 | # Directorios y librerias |
---|
| 7 | DIRS := |
---|
| 8 | LIBS := -static |
---|
| 9 | |
---|
| 10 | # Opciones de compilacion |
---|
[f55088b] | 11 | #OPCS := -m32 -O0 -g -Wall # Depuracion |
---|
| 12 | OPCS := -m32 -O3 -Wall # Optimizacion |
---|
[3ec149c] | 13 | |
---|
| 14 | # Ficheros objetos |
---|
| 15 | OBJS := sources/ogAdmClient.o |
---|
| 16 | |
---|
| 17 | all: $(PROYECTO) |
---|
| 18 | |
---|
| 19 | $(PROYECTO): $(OBJS) |
---|
[2f28f06] | 20 | g++ $(OPCS) $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO) |
---|
[f55088b] | 21 | strip $(PROYECTO) # Optimizacion |
---|
[3ec149c] | 22 | |
---|
| 23 | clean: |
---|
| 24 | rm $(PROYECTO) $(OBJS) |
---|
| 25 | |
---|
| 26 | sources/%.o: sources/%.cpp |
---|
| 27 | g++ $(OPCS) -c -o"$@" "$<" |
---|
| 28 | |
---|
| 29 | sources/%.o: sources/%.c |
---|
| 30 | gcc $(OPCS) -I ../../Includes -c -o"$@" "$<" |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.