1234567891011121314151617181920212223242526 |
- HEX0=(../c/hex0.bin)
- HEX2=(../c/hex2.bin)
- HEX86=(../c/hex86.bin)
- HEX0SRCS=helloworld.hex0 hex0a.hex0 xeh.hex0 robinhoksberg_elfhowto.hex0 hex0b1.hex0
- HEX2SRCS=stage1_assembler-2.hex2 x86-enc-jumps.hex2 cat.hex2 \
- cat2.hex2 cat3.hex2 hex0b2.hex2 glo.hex2 hex0glo.hex2 strcmp.hex2
- HEX86SRCS=hex0b3.hex86
- BINARIES=$(HEX0SRCS:.hex0=.bin) $(HEX2SRCS:.hex2=.bin) $(HEX86SRCS:.hex86=.bin)
- .PHONY: all
- all: $(BINARIES)
- .PHONY: clean
- clean:
- rm -f $(BINARIES)
- %.bin: %.hex0
- $(HEX0) < $< > $@
- %.bin: %.hex2
- $(HEX2) < $< > $@
- %.bin: %.hex86
- $(HEX86) < $< > $@
|