Hello everyone
I hope someone can help my understanding of how to install some files from make, right now I simply cut and paste my directory however I'd like to automate this with make install and I'm having a few problems understanding the documentation.
Basically I want make to create a directory in usr/include and then copy my *.o files into it, then copy my *.a file to /usr/libs, of course these could be any directories.
I have a make file (not who file) like below
CC= g++ -Wall -pedantic -g -Os -ffloat-store -c
AR= ar
SOURCE_FILE= CplusLibaryFilesVer008
OBJECTS= $(SOURCE_FILE)/SetUpScreen.o #etc....
I want my *.o files from the source_file copied into a folder in usr/include and the *.a copied into usr/libs
I know I have to use install: but am unsure what to put in it.
Thanks in advance