Added version resource

Based on issue #2.
This commit is contained in:
luca0N! 2020-05-23 22:52:20 -03:00
parent 3a118caf64
commit 6f4265a9ce
No known key found for this signature in database
GPG key ID: 9F1B99B522287CAB
3 changed files with 137 additions and 4 deletions

View file

@ -20,21 +20,23 @@
C=gcc
CFLAG=-s -Os
MT=mt
MTARGS=-nologo
WINDRES=windres
ldl3: main.o about.h str.h colors.h
$(C) main.o about.h str.h colors.h -o ldl3 $(CFLAG)
$(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
rm *.o *.exe *.res
cleandust:
rm *.o
rm *.o *.res
dustless:
make