make sure they're in the same folder for this example

main.c:
Code:
#include <acknex.h>
#include <default.c>

#include "splash.c" //make sure these are quotes not angular brackets

void main(){
   wait(1);
   call_splash();
}



splash.c:
Code:
function call_splash(){
   beep();
}