source:
admin/Services/ogAdmClient/Makefile
@
8d5ffb2
Last change on this file since 8d5ffb2 was 2e445b5, checked in by , 15 years ago | |
---|---|
|
|
File size: 532 bytes |
Rev | Line | |
---|---|---|
[c77c7d2] | 1 | # makefile |
2 | ||
3 | # Nombre del proyecto | |
[b25881b] | 4 | PROYECTO := ogAdmClient |
[c77c7d2] | 5 | |
6 | # Directorios y librerias | |
7 | DIRS := | |
8 | LIBS := -static | |
9 | ||
10 | # Opciones de compilacion | |
11 | OPCS := -O0 -g -Wall # Depuracion | |
12 | #OPCS := -O3 -Wall # Optimizacion | |
13 | ||
14 | # Ficheros objetos | |
[b25881b] | 15 | OBJS := sources/ogAdmClient.o |
[c77c7d2] | 16 | |
17 | all: $(PROYECTO) | |
18 | ||
19 | $(PROYECTO): $(OBJS) | |
20 | g++ $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO) | |
21 | # strip $(PROYECTO) # Optimizacion | |
22 | ||
23 | clean: | |
24 | rm $(PROYECTO) $(OBJS) | |
25 | ||
[b25881b] | 26 | sources/%.o: sources/%.cpp |
[c77c7d2] | 27 | g++ $(OPCS) -c -o"$@" "$<" |
28 | ||
[b25881b] | 29 | sources/%.o: sources/%.c |
[2e445b5] | 30 | gcc $(OPCS) -I ../includes -c -o"$@" "$<" |
[c77c7d2] | 31 | |
32 |
Note: See TracBrowser
for help on using the repository browser.