source: admin/Sources/Clients/ogAdmClient/Makefile

lgromero-new-oglive
Last change on this file was 1bbff49, checked in by ramon <ramongomez@…>, 11 years ago

#547: Usar el compilador correcto para generar el ejecutable ogAdmClient, evitando errores de linkado en distribuciones como CentOS 7.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@4327 a21b9725-9963-47de-94b9-378ad31fedc9

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