2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / tools / mkbundle / Makefile
index 17668708fb2c25ec13724d84db68e3e597063f5e..34fb5d1ac5a7182832679ee94e8a9ae0e86054f2 100644 (file)
@@ -2,10 +2,16 @@ thisdir = tools/mkbundle
 SUBDIRS = 
 include ../../build/rules.make
 
-LOCAL_MCS_FLAGS=-r:Mono.Posix -resource:template.c
-
 PROGRAM = mkbundle.exe
 
+OTHER_RES = template.c
+
+RESOURCE_FILES = $(OTHER_RES)
+
+LOCAL_MCS_FLAGS=-r:Mono.Posix.dll $(OTHER_RES:%=-resource:%)
+
+EXTRA_DISTFILES = $(RESOURCE_FILES)
+
 include ../../build/executable.make
 
-mkbundle.exe: mkbundle.cs template.c
+mkbundle.exe: $(RESOURCE_FILES)