| 1 | # Microsoft NMAKE makefile for TADS WebUI flash component |
| 2 | # |
| 3 | # Requires the Flex SDK: http://www.adobe.com/products/flex/ |
| 4 | # (Adobe publishes a free, open-source Flex SDK as well as a |
| 5 | # commercial toolkit called Adobe Flash Builder. The free SDK is |
| 6 | # sufficient for our purposes here.) |
| 7 | |
| 8 | FLEXC = c:\downloads\flex\bin\mxmlc |
| 9 | RESDIR = ..\webuires |
| 10 | WWWDIR = c:\website\mjrnet.org |
| 11 | |
| 12 | all: $(RESDIR)\TADS.swf $(WWWDIR)\tads-swf.htm $(WWWDIR)\TADS.swf |
| 13 | |
| 14 | $(WWWDIR)\tads-swf.htm: tads-swf.htm |
| 15 | copy /y $? $@ |
| 16 | |
| 17 | $(WWWDIR)\tads.swf: $(RESDIR)\TADS.swf |
| 18 | copy /y $? $@ |
| 19 | |
| 20 | $(RESDIR)\TADS.swf: TADS.as |
| 21 | |
| 22 | .SUFFIXES: .swf .as |
| 23 | |
| 24 | .as{$(RESDIR)}.swf: |
| 25 | $(FLEXC) -use-network=false -static-link-runtime-shared-libraries -output $@ $< |
| 26 |