source: admin/Services/ogAdmClient/Makefile @ 85b029f

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 85b029f was 2e445b5, checked in by alonso <alonso@…>, 15 years ago

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

  • Property mode set to 100644
File size: 532 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 := -O0 -g -Wall    # Depuracion
12#OPCS := -O3 -Wall      # Optimizacion
13
14# Ficheros objetos
15OBJS := sources/ogAdmClient.o
16
17all: $(PROYECTO)
18
19$(PROYECTO): $(OBJS)
20        g++ $(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
Note: See TracBrowser for help on using the repository browser.