[gforth] / gforth / arch / amd64 / Makefile  

gforth: gforth/arch/amd64/Makefile

File: [gforth] / gforth / arch / amd64 / Makefile (download)
Revision: 1.1, Wed Aug 11 21:02:52 2010 UTC (2 years, 9 months ago) by dvdkhlng
Branch: MAIN
CVS Tags: HEAD
Fixed 3dnow instructions (everything was broken?).  Some MMX fixes.  SSE fixes
and more instructions.  Added test-case.

#
# A minimal driver for running the assembler tests
#

FS = ../../gforth -i ../../kernl64l.fi ../../exboot.fs ../../startup.fs

PWD := $(shell pwd)
SRC = $(PWD)/asm.fs $(PWD)/testasm.fs

.PHONY: all
all: check

.INTERMEDIATE: testdisasm.res
testdisasm.res: $(SRC) FORCE
	$(FS) $(SRC) -e 'bye' | sed -f testdisasm.sed > $@

.PHONY: check
check: testdisasm.res
	diff -U1 testdisasm.out testdisasm.res && echo OK


.PHONY: check-gen
check-gen:
	$(FS) $(SRC) -e 'bye' | sed -f testdisasm.sed \
		| tee testdisasm.out

.PHONY: FORCE

CVS Admin

Powered by ViewCVS 1.0-dev
(Powered by ViewCVS)

ViewCVS and CVS Help