Last change
on this file since 2898 was
2898,
checked in by Sam Hocevar, 15 years ago
|
Reorganise MSVC files so that each project is with its source code.
|
File size:
821 bytes
|
Line | |
---|
1 | # $Id: $
|
---|
2 |
|
---|
3 | cacadir = $(libdir)/caca-sharp
|
---|
4 |
|
---|
5 | caca_sources = \
|
---|
6 | $(srcdir)/AssemblyInfo.cs \
|
---|
7 | $(srcdir)/Caca.cs \
|
---|
8 | $(srcdir)/Attr.cs \
|
---|
9 | $(srcdir)/Canvas.cs \
|
---|
10 | $(srcdir)/Display.cs \
|
---|
11 | $(srcdir)/Dither.cs \
|
---|
12 | $(srcdir)/Event.cs \
|
---|
13 | $(srcdir)/Font.cs
|
---|
14 |
|
---|
15 | test_sources = \
|
---|
16 | $(srcdir)/test.cs
|
---|
17 |
|
---|
18 | if USE_CSHARP
|
---|
19 | caca_DATA = caca-sharp.dll caca-sharp.dll.config
|
---|
20 | noinst_DATA = test.exe
|
---|
21 | endif
|
---|
22 |
|
---|
23 | EXTRA_DIST = $(caca_sources) $(test_sources) \
|
---|
24 | caca-sharp.dll.config.in \
|
---|
25 | caca-sharp.csproj test-csharp.csproj
|
---|
26 |
|
---|
27 | caca-sharp.dll: $(caca_sources)
|
---|
28 | gmcs -unsafe $(caca_sources) -out:$@ -target:library \
|
---|
29 | -r:System.Drawing.dll
|
---|
30 |
|
---|
31 | test.exe: $(test_sources) caca-sharp.dll
|
---|
32 | gmcs $(test_sources) -out:$@ -lib:./ \
|
---|
33 | -r:System.Drawing.dll -r:./caca-sharp.dll
|
---|
34 |
|
---|
35 | clean-local:
|
---|
36 | rm -f *.exe *.dll
|
---|
37 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.