Build - Some improvements / fixes

+ fullclean no longer worked
+ F11 in vim
This commit is contained in:
Emmanuel BENOîT 2017-11-22 20:35:05 +01:00
parent eab7b5f670
commit 3cf9e5c3ac
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,8 @@
#!/bin/bash #!/bin/bash
if make -j 8; then if make -j 8; then
if [ -x /usr/bin/optirun ]; then
optirun ./demo optirun ./demo
else
./demo
fi
fi fi

View file

@ -87,7 +87,7 @@ clean:
rm -f $(ALL_OBJS) $(FILEDUMPS) demo parsercheck $(PCH) $(OUTDIR)/font-awesome.inl rm -f $(ALL_OBJS) $(FILEDUMPS) demo parsercheck $(PCH) $(OUTDIR)/font-awesome.inl
fullclean: clean fullclean: clean
@+make -C ebcl fullclean CONFIG=../ebcl-config @+make -C 3rdparty/ebcl fullclean CONFIG=../../ebcl-config
rm -f $(ALL_DEPS) $(OUTDIR)/font-to-c rm -f $(ALL_DEPS) $(OUTDIR)/font-to-c
.PHONY: all clean fullclean .PHONY: all clean fullclean