Skip to content

Conversation

@tDwtp
Copy link
Contributor

@tDwtp tDwtp commented Aug 5, 2023

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

tDwtp added 5 commits August 5, 2023 09:44
`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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant