3 include ../build/rules.make
41 all_sources = $(COMPILER_SOURCES) cs-parser.cs
46 compiler.csproj.user \
56 install-local: gmcs.exe
57 $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
58 $(INSTALL_BIN) gmcs.exe $(DESTDIR)$(prefix)/bin
60 test-local run-test-local:
63 rm -f *.exe *.pdb cs-parser.cs y.output
65 dist-local: dist-default
67 gmcs.exe: $(all_sources)
68 $(BOOT_COMPILE) /target:exe /out:$@ $^
70 cs-parser.cs: cs-parser.jay $(topdir)/jay/skeleton.cs
71 $(topdir)/jay/jay -ctv < $(topdir)/jay/skeleton.cs $< >$@
77 # This used to be called test, but that conflicts with the global
80 btest: mcs2.exe mcs3.exe
81 ls -l mcs2.exe mcs3.exe
84 $(TIME) $(RUNTIME) ./gmcs.exe $(USE_MCS_FLAGS) /target:exe /out:$@ $(all_sources)
87 $(TIME) $(RUNTIME) ./mcs2.exe $(USE_MCS_FLAGS) /target:exe /out:$@ $(all_sources)
91 make btest USE_MCS_FLAGS=
94 echo $(all_sources) > res