init repo
This commit is contained in:
commit
90e6151613
3260 files changed
+3745062
No files matched your search
@@ -0,0 +1,26 @@
|
||||
ROM=dev7
|
||||
MAP=32k
|
||||
B=../../build/
|
||||
CC=${B}glcc
|
||||
GTSIM=${B}gtsim -rom ../../gigatron/roms/${ROM}.rom
|
||||
GTPROF=${B}/../gigatron/mapsim/gtprof
|
||||
|
||||
PGMS=ascbrot.gt1 ascjulia.gt1 gfxbrotx.gt1 gfxjuliax.gt1
|
||||
|
||||
all:${PGMS}
|
||||
|
||||
|
||||
%.gt1: %.c
|
||||
${CC} -rom=${ROM} -map=${MAP} $< -o $@
|
||||
|
||||
|
||||
%.prof: %.c
|
||||
${CC} -rom=${ROM} -map=sim,hionly $< -o $*-sim.gt1 --frags > $*-sim.frg
|
||||
-${GTSIM} -prof $*-sim.prf $*-sim.gt1
|
||||
${GTPROF} $*-sim.prf $*-sim.frg | sort -nr > $@
|
||||
|
||||
|
||||
clean: FORCE
|
||||
-rm *.gt1 *.prf *.frg *.prof
|
||||
|
||||
FORCE:
|
||||
Reference in new issue
Block a user