#
# limpador do luca0N! 3
# Copyright (C) 2020 luca0N!
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
# Contact me by e-mail via .
#
C=gcc
CFLAG=-s -Os
MT=C:/Program\ Files\ \(x86\)/Windows\ Kits/10/bin/10.0.18362.0/x64/mt
MTARGS=-nologo
WINDRES=windres
ldl3: main.o about.h str.h colors.h
$(WINDRES) ldl3.rc -O coff -o ldl3.res
$(C) main.o about.h str.h colors.h ldl3.res -o ldl3 $(CFLAG)
$(MT) -manifest ldl3.manifest -outputresource:ldl3.exe $(MTARGS)
main.o: main.c
$(C) -c main.c $(CFLAG)
clean:
rm *.o *.exe *.res
cleandust:
rm *.o *.res
dustless:
make
make cleandust