mirror of
https://github.com/mrkite/regs.git
synced 2024-11-25 07:32:27 +00:00
27 lines
333 B
Makefile
27 lines
333 B
Makefile
CC=clang
|
|
CFLAGS=-Wall
|
|
|
|
all: 2mg regs
|
|
|
|
2mg: FORCE
|
|
$(MAKE) -C src ../2mg
|
|
|
|
regs: FORCE src/iigs.h
|
|
$(MAKE) -C src ../regs
|
|
|
|
src/iigs.h: iigs.dat
|
|
xxd -i $< $@
|
|
|
|
iigs.dat: docmaker/docmaker iigs
|
|
./docmaker/docmaker iigs
|
|
|
|
docmaker/docmaker:
|
|
$(MAKE) -C docmaker
|
|
|
|
FORCE:
|
|
|
|
clean:
|
|
rm -f *.o
|
|
$(MAKE) -C docmaker clean
|
|
$(MAKE) -C src clean
|