git-svn-id: https://opengnsys.es/svn/trunk@32 a21b9725-9963-47de-94b9-378ad31fedc9
parent
6c92b5577a
commit
8a64b34cf4
|
@ -0,0 +1,33 @@
|
|||
# makefile
|
||||
|
||||
# Nombre del proyecto
|
||||
PROYECTO := hidrac
|
||||
|
||||
# Directorios y librerias
|
||||
DIRS :=
|
||||
LIBS := -static
|
||||
|
||||
# Opciones de compilacion
|
||||
OPCS := -O0 -g -Wall # Depuracion
|
||||
#OPCS := -O3 -Wall # Optimizacion
|
||||
|
||||
# Ficheros objetos
|
||||
OBJS := fuentes/hidrac.o
|
||||
|
||||
|
||||
all: $(PROYECTO)
|
||||
|
||||
$(PROYECTO): $(OBJS)
|
||||
g++ $(DIRS) $(LIBS) $(OBJS) -o $(PROYECTO)
|
||||
strip $(PROYECTO)
|
||||
|
||||
clean:
|
||||
rm $(PROYECTO) $(OBJS)
|
||||
|
||||
fuentes/%.o: fuentes/%.cpp
|
||||
g++ $(OPCS) -c -o"$@" "$<"
|
||||
|
||||
fuentes/%.o: fuentes/%.c
|
||||
gcc $(OPCS) -c -o"$@" "$<"
|
||||
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
IPhidra=10.1.15.3
|
||||
Puerto=2008
|
||||
hidraCHEIMAGENES=/usr/hidra/imagenes
|
||||
hidraSRVIMAGENES=/var/EAC/hdimages/pruebashidra
|
||||
hidraSRVCMD=/usr/local/hidra/comandos
|
||||
hidraSCRIPTS=/var/EAC/hidra/scripts
|
Loading…
Reference in New Issue