home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2003 September / VPR0309.ISO / DOTNETSDK / dotNETSDK / setup.exe / netfxsd1.cab / makefile_786________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Makefile  |  2001-09-27  |  749 b   |  33 lines

  1. BIN = ..\bin
  2. TEST = ..\tests
  3. SRC = ..\src
  4. #CSFLAGS = /debug /d:DEBUG 
  5. CSFLAGS = 
  6. #IMPORTS = /r:System.Text.RegularExpressions.dll
  7.  
  8. .SUFFIXES : .exe .dll .cs .lex .txt .myc
  9.  
  10. .lex.cs:
  11.     $(LEXBIN) $(SRC)\$**
  12.  
  13. .cs.dll:
  14.     csc $(CSFLAGS) $(IMPORTS) /t:dll /out:$*.dll $*.cs
  15.  
  16. .cs.exe:
  17.     csc $(CSFLAGS) $(IMPORTS) /t:exe /out:$*.exe $*.cs
  18.  
  19. OUTFILES = "$(BIN)" $(BIN)\myc.exe $(BIN)\tflow.exe
  20.  
  21. all : $(OUTFILES)
  22.  
  23. SRCLIST = myc.cs io.cs asm.cs iasm.cs var.cs varlist.cs emit.cs tok.cs parse.cs exe.cs
  24.  
  25. "$(BIN)" :
  26.     if not exist "$(BIN)" mkdir "$(BIN)"
  27.  
  28. $(BIN)\myc.exe : $(SRCLIST) makefile
  29.     csc $(CSFLAGS) $(IMPORTS) /t:exe /out:$*.exe $(SRCLIST)
  30.  
  31. $(BIN)\tflow.exe : $(TEST)\tflow.myc
  32.     $(BIN)\myc /outdir:$(BIN) $(TEST)\tflow.myc 
  33.