Add tcc support (and fix msbuild without visual studio install)#411
Open
tDwtp wants to merge 5 commits intomarcobambini:masterfrom
Open
Add tcc support (and fix msbuild without visual studio install)#411tDwtp wants to merge 5 commits intomarcobambini:masterfrom
tDwtp wants to merge 5 commits intomarcobambini:masterfrom
Conversation
`make CC=tcc` will now work requires propper _WIN32 usage (always prefer _WIN32 over WIN32)
.gitignore now also lists *.def for the library definition automatically generated by tcc
accidentally added gravity.def fixed gitignore already, but it did not automatically remove gravity.def
This fixes compatibility with MSVC and tcc by some simplification and the usage of typedefs of `windows.h` additionallly for em to work i added a rm.bat so tcc builds will also clean properly
when not inside a recipie (command lines) use spaces to indent. This is to distinguish between a recipie (which does not allow spaces as indentation) and makefile setup (the ifeq platform stuff for example)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds tcc support. It should also fix some stuff with msbuild (commandline ithout visual studio).
The changes for make are of semantic nature.
Explanation:
Usually to distinguish between recipies and setup, you have to use tabs for recipies, but setup should be done with space indentation. When using spaces as indentation after a recipie it will not be interpreted as a call.
Also: some syntax-highlighter specifically require space indentation to distinguish between recipies and setup