parent
4229892e29
commit
5a80bf27f4
4
Makefile
4
Makefile
|
@ -19,7 +19,7 @@ endif
|
||||||
all: fresh_vc fresh_tcc
|
all: fresh_vc fresh_tcc
|
||||||
ifdef WIN32
|
ifdef WIN32
|
||||||
$(CC) -std=c99 -w -o v0.exe vc/v_win.c
|
$(CC) -std=c99 -w -o v0.exe vc/v_win.c
|
||||||
./v0.exe -o v.exe v.v
|
./v0.exe -o v.exe compiler
|
||||||
rm -f v0.exe
|
rm -f v0.exe
|
||||||
else
|
else
|
||||||
$(CC) -std=gnu11 -w -o v vc/v.c -lm
|
$(CC) -std=gnu11 -w -o v vc/v.c -lm
|
||||||
|
@ -27,7 +27,7 @@ else
|
||||||
V_V=`git rev-parse --short HEAD`; \
|
V_V=`git rev-parse --short HEAD`; \
|
||||||
if [ $$VC_V != $$V_V ]; then \
|
if [ $$VC_V != $$V_V ]; then \
|
||||||
echo "Self rebuild ($$VC_V => $$V_V)"; \
|
echo "Self rebuild ($$VC_V => $$V_V)"; \
|
||||||
./v v.v; \
|
./v -o v compiler; \
|
||||||
fi)
|
fi)
|
||||||
endif
|
endif
|
||||||
rm -rf vc/
|
rm -rf vc/
|
||||||
|
|
Loading…
Reference in New Issue