cs: add icon and other resources to RacketCS.exe

This commit is contained in:
Matthew Flatt 2018-10-26 16:59:24 -06:00
parent 457a673506
commit 3f6a7b3e06
2 changed files with 6 additions and 3 deletions

1
racket/src/worksp/cs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
racket.res

View File

@ -12,11 +12,13 @@ LIBS = $(RKTIO_LIB) \
DEST = ..\..\build\raw_racketcs.exe
CSDIR = ..\..\cs\c
COMP_SUBDIR = /DCS_COMPILED_SUBDIR
COMP_SUBDIR = /DCS_COMPILED_SUBDIR=1
$(DEST): $(CSDIR).\main.c $(CSDIR)\boot.c $(RKTIO_LIB)
cl /Fe$(DEST) /Ox /MT $(COMP_SUBDIR) $(INCS) $(CSDIR)\main.c $(CSDIR)\boot.c $(LIBS)
$(DEST): $(CSDIR).\main.c $(CSDIR)\boot.c racket.res $(RKTIO_LIB)
cl /Fe$(DEST) /Ox /MT $(COMP_SUBDIR) $(INCS) $(CSDIR)\main.c $(CSDIR)\boot.c racket.res $(LIBS)
racket.res: ../racket/racket.rc ../racket/racket.ico
rc /l 0x409 /foracket.res ../racket/racket.rc
# Useful for debugging: