Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

* Makefile: Added conditional compilation symbols. Treat warnings as

errors.

svn path=/trunk/winforms-tools/; revision=64408
  • Loading branch information...
commit 4e0ec09617dd1d23721cf4e1b3c04078c81ef5d5 1 parent 0f2cd36
Gert Driesen authored
Showing with 13 additions and 4 deletions.
  1. +5 −0 eventvwr/ChangeLog
  2. +8 −4 eventvwr/Makefile
View
5 eventvwr/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-26 Gert Driesen <drieseng@users.sourceforge.net>
+
+ * Makefile: Added conditional compilation symbols. Treat warnings as
+ errors.
+
2006-08-25 Gert Driesen <drieseng@users.sourceforge.net>
* Initial import
View
12 eventvwr/Makefile
@@ -8,9 +8,11 @@ export MONO_EVENTLOG_TYPE
ifeq (net_2_0, $(PROFILE))
MCS = gmcs
RESGEN = resgen2
+DEFINE = NET_1_1,NET_2_0,ONLY_2_0
else
MCS = mcs
RESGEN = resgen
+DEFINE = NET_1_1,ONLY_1_1
endif
IMAGES_RESOURCES = \
@@ -27,11 +29,13 @@ IMAGES_RESOURCES = \
all: clean eventvwr.exe
eventvwr.exe : $(RESX_RESOURCES) $(IMAGE_RESOURCES)
- $(MCS) -target:winexe -out:eventvwr.exe \
- -r:System.Drawing.dll \
- -r:System.Windows.Forms.dll \
+ $(MCS) -target:winexe -out:eventvwr.exe \
+ -define:$(DEFINE) \
+ -r:System.Drawing.dll \
+ -r:System.Windows.Forms.dll \
-win32icon:Resources/eventlog.ico \
- @eventvwr.exe.sources \
+ -warnaserror \
+ @eventvwr.exe.sources \
@eventvwr.exe.resources
clean:
Please sign in to comment.
Something went wrong with that request. Please try again.