2020-05-20 17:33:09 +00:00
|
|
|
#
|
2020-04-27 04:51:35 +00:00
|
|
|
# limpador do luca0N! 3
|
2020-04-26 21:55:11 +00:00
|
|
|
# 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 <https://www.gnu.org/licenses/>.
|
|
|
|
#
|
|
|
|
# Contact me by e-mail via <mailto:luca0n@protonmail.com>
|
2020-05-20 17:33:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
C=gcc
|
|
|
|
CFLAG=-s -Os
|
2020-05-24 01:52:20 +00:00
|
|
|
|
2020-05-24 01:21:08 +00:00
|
|
|
MT=mt
|
|
|
|
MTARGS=-nologo
|
2020-05-24 01:52:20 +00:00
|
|
|
WINDRES=windres
|
2020-04-26 21:55:11 +00:00
|
|
|
|
2020-04-27 05:10:49 +00:00
|
|
|
ldl3: main.o about.h str.h colors.h
|
2020-05-24 01:52:20 +00:00
|
|
|
$(WINDRES) ldl3.rc -O coff -o ldl3.res
|
|
|
|
$(C) main.o about.h str.h colors.h ldl3.res -o ldl3 $(CFLAG)
|
2020-05-24 01:21:08 +00:00
|
|
|
$(MT) -manifest ldl3.manifest -outputresource:ldl3.exe $(MTARGS)
|
2020-04-26 21:55:11 +00:00
|
|
|
main.o: main.c
|
2020-05-20 17:33:09 +00:00
|
|
|
$(C) -c main.c $(CFLAG)
|
2020-04-26 21:55:11 +00:00
|
|
|
|
|
|
|
clean:
|
2020-05-24 01:52:20 +00:00
|
|
|
rm *.o *.exe *.res
|
2020-05-06 18:42:15 +00:00
|
|
|
|
|
|
|
cleandust:
|
2020-05-24 01:52:20 +00:00
|
|
|
rm *.o *.res
|
2020-05-06 18:42:15 +00:00
|
|
|
|
|
|
|
dustless:
|
|
|
|
make
|
|
|
|
make cleandust
|