Commit 3329e427 authored by Jan Luc Tavares's avatar Jan Luc Tavares
Browse files

script de instalação aprimorado

parent aa972388
########################################################################
#
# --- CAEN SpA - Computing Division ---
#
# CAENVMElib Software Project
#
# Created : Nov 2005 (Rel. 1.0)
#
# Auth: NDA
#
########################################################################
EXE = N957Run
CC = gcc
COPTS = -fPIC -DLINUX -Wall
#COPTS = -g -fPIC -DLINUX -Wall
FLAGS = -Wall -s
#FLAGS = -Wall
DEPLIBS = -lCAENN957 -lm
LIBS =
INCLUDEDIR = -I. -I./include -I./N957
OBJS = lib/main.o lib/user_settings.o lib/keyb.o
INCLUDES = ./N957/N957Lib.h ./N957/N957types.h ./N957/N957oslib.h ./include/keyb.h ./include/user_settings.h
#########################################################################
all : $(EXE)
clean :
/bin/rm -f $(OBJS) $(EXE)
$(EXE) : $(OBJS)
/bin/rm -f $(EXE)
$(CC) $(FLAGS) -o $(EXE) $(OBJS) $(DEPLIBS)
$(OBJS) : $(INCLUDES) Makefile
%.o : %.c
$(CC) $(COPTS) $(INCLUDEDIR) -c -o $@ $<
#!/bin/bash
# The objective of this file is to make an installation script which generates and correctly places the program N957Run.
cd ./install/
make
mv ./N957Run ../python/N957Run
cd ..
echo '#!/bin/bash' > rodamodulo.sh
echo 'cd '$PWD'/python/' >> rodamodulo.sh
echo 'sudo '$PWD'/python/newmodulo.py' >> rodamodulo.sh
MCA = 175
MCB = 174
#MCB = 174
#MCC = 174
#MCD = xxx
#!/bin/bash
cd /home/rafa/Documentos/estacaodeespectrometria/python
gksu python /home/rafa/Documentos/estacaodeespectrometria/python/newmodulo.py
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment