source: admin/Services/ogAdmClient/Makefile @ bf1840e9

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 bf1840e9 was d08ec1cc, checked in by alonso <alonso@…>, 15 years ago

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

  • Property mode set to 100644
File size: 518 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
17
18all: $(PROYECTO)
19
20$(PROYECTO): $(OBJS)
21        g++ $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO)
22#       strip $(PROYECTO)       # Optimizacion
23
24clean:
25        rm $(PROYECTO) $(OBJS)
26
27sources/%.o: sources/%.cpp
28        g++ $(OPCS) -c -o"$@" "$<"
29
30sources/%.o: sources/%.c
31        gcc $(OPCS) -c -o"$@" "$<"
32
33
Note: See TracBrowser for help on using the repository browser.