How to create make file as auto run exe in linux

I have created the make file using c++ program. I ran the program using the cmd ./sample. I need to run this make file when server on. So i need the help for auto run concept
Topic archived. No new replies allowed.