Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1255 → Rev 1259

/demos/trunk/loader/shark/shark.mak
0,0 → 1,15
ifndef BASE
BASE=../../..
endif
 
include $(BASE)/config/config.mk
 
PROGS = TEST
 
include $(BASE)/config/example.mk
 
TEST:
make -f $(SUBMAKE) APP="nload" BASE=../../.. INIT= OTHEROBJS="event.o initfile.o shark.o fsfinit.o" OTHERINCL="-I." SHARKOPT="__OLDCHAR__ __FIRST__"
mv nload TEST
touch nload
 
/demos/trunk/loader/shark/makefile.in
0,0 → 1,14
#
# Shark dependecies
#
 
os_specific_dep: out/shark.done out/makefile
 
 
out/shark.done:
cd out; cp -sf ../shark/*.c .
cd out; cp -sf ../shark/*.h .
touch out/shark.done
 
out/makefile: shark/shark.mak
sed -e "s/TEST/$(TEST)/" shark/shark.mak > out/makefile
/demos/trunk/loader/shark/shark.c
1,5 → 1,5
#include "func.h"
#include "common/calibrate.h"
#include "calibrate.h"
 
extern int cal_cycles;
extern struct timespec zero_time;
/demos/trunk/loader/shark/shark.h
1,8 → 1,8
#ifndef __SHARK_H__
#define __SHARK_H__
 
#include "common/nload.h"
#include "common/lconst.h"
#include "nload.h"
#include "lconst.h"
 
int calibrate_cycle();
void start_simulation();