source: admin/Sources/Clients/ogAdmLnxClient/Makefile @ d81fc6a

Last change on this file since d81fc6a was d0df50b6, checked in by ramon <ramongomez@…>, 13 years ago

Versión 1.0.4, #531: Integrar versión 1.0.4 en rama principal.

git-svn-id: https://opengnsys.es/svn/trunk@3259 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 561 bytes
Line 
1# makefile
2
3# Nombre del proyecto
4PROYECTO := ogAdmLnxClient
5
6# Directorios y librerias
7DIRS :=
8LIBS := -static
9
10# Opciones de compilacion
11#OPCS := -m32 -O0 -g -Wall      # Depuracion
12OPCS := -m32 -O3 -Wall          # Optimizacion
13
14# Ficheros objetos
15OBJS := sources/ogAdmLnxClient.o
16
17all: $(PROYECTO)
18
19$(PROYECTO): $(OBJS)
20        g++ $(OPCS) $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO)
21        strip $(PROYECTO)       # Optimizacion
22
23clean:
24        rm $(PROYECTO) $(OBJS)
25
26sources/%.o: sources/%.cpp
27        g++ $(OPCS) -c -o"$@" "$<"
28
29sources/%.o: sources/%.c
30        gcc $(OPCS) -I ../../Includes -c -o"$@" "$<"
31
32
33
34
Note: See TracBrowser for help on using the repository browser.