diff options
author | pommicket <pommicket@gmail.com> | 2023-07-03 17:50:49 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-07-03 17:50:49 -0400 |
commit | 113d03741a66c006faa2be670b1aef7ceb4cdd20 (patch) | |
tree | f9aa4b4d50e3c94a8e1980dd129a459caddbdff8 /05/Makefile | |
parent | 3384d6913338dcacd36468ea621668417cea1ed3 (diff) |
add inttyes.h,stdint.h to 05 stdlib, musl instructions in readme
Diffstat (limited to '05/Makefile')
-rw-r--r-- | 05/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/05/Makefile b/05/Makefile index 01194ff..d5bd3bd 100644 --- a/05/Makefile +++ b/05/Makefile @@ -27,12 +27,13 @@ $(TCCDIR)/lib/libtcc1.a: $(TCC0) $(TCCDIR)/lib/*.[cS] $(TCC0) -c $(TCCDIR)/lib/va_list.c -o $(TCCDIR)/lib/va_list.o $(TCC0) -c $(TCCDIR)/lib/libtcc1.c -o $(TCCDIR)/lib/libtcc1.o $(TCC0) -ar $(TCCDIR)/lib/libtcc1.a $(TCCDIR)/lib/*.o -install: $(TCCDIR)/lib/libtcc1.a $(TCCDIR)/include/*.h +musl: tcc-files + $(MAKE) -C musl-0.6.0 + $(MAKE) -C musl-0.6.0 install +tcc-files: $(TCCDIR)/lib/libtcc1.a $(TCCDIR)/include/*.h mkdir -p $(TCCINST)/include cp -r $(TCCDIR)/include/*.h $(TCCINST)/include/ cp -r $(TCCDIR)/lib/libtcc1.a $(TCCINST)/ - $(MAKE) -C musl-0.6.0 - $(MAKE) -C musl-0.6.0 install $(TCC)1: $(TCC0) $(TCCINST)/libtcc1.a cd $(TCCDIR) && ./tcc0 -nostdinc -nostdlib -B ../tcc-boostrap -L../musl-bootstrap/lib -lc -I ../musl-bootstrap/include tcc.c -o tcc1 tcc: $(TCC)1 |