Fix makefile OS compatibility

This commit is contained in:
Yarosλav 2021-10-17 19:33:13 +03:00
parent 8649a36fa4
commit f248bb1088

@ -14,7 +14,12 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
CC = magick convert ifeq ($(OS),Windows_NT)
CC = magick
else
CC = convert
endif
SOURCE ?= source.png SOURCE ?= source.png
# Files & forlders # Files & forlders