918-git-images-111dconfigure-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-instalacion
opengnsys-1.1.1b
Rev | Line | |
---|
[3ec149c] | 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 |
---|
[2f28f06] | 11 | OPCS := -m32 -O0 -g -Wall # Depuracion |
---|
| 12 | #OPCS := -m32 -O3 -Wall # Optimizacion |
---|
[3ec149c] | 13 | |
---|
| 14 | # Ficheros objetos |
---|
| 15 | OBJS := sources/ogAdmClient.o |
---|
| 16 | |
---|
| 17 | all: $(PROYECTO) |
---|
| 18 | |
---|
| 19 | $(PROYECTO): $(OBJS) |
---|
[1bbff49] | 20 | gcc $(OPCS) $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO) |
---|
[3ec149c] | 21 | # strip $(PROYECTO) # Optimizacion |
---|
| 22 | |
---|
| 23 | clean: |
---|
[1bbff49] | 24 | rm -f $(PROYECTO) $(OBJS) |
---|
[3ec149c] | 25 | |
---|
| 26 | sources/%.o: sources/%.c |
---|
| 27 | gcc $(OPCS) -I ../../Includes -c -o"$@" "$<" |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.