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
Line | |
---|
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 |
---|
11 | OPCS := -m32 -O0 -g -Wall # Depuracion |
---|
12 | #OPCS := -m32 -O3 -Wall # Optimizacion |
---|
13 | |
---|
14 | # Ficheros objetos |
---|
15 | OBJS := sources/ogAdmClient.o |
---|
16 | |
---|
17 | all: $(PROYECTO) |
---|
18 | |
---|
19 | $(PROYECTO): $(OBJS) |
---|
20 | g++ $(OPCS) $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO) |
---|
21 | # strip $(PROYECTO) # Optimizacion |
---|
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.