summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-09-28 18:50:54 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-09-28 18:50:54 +0300
commit17b1ee95a4f63b33c41aa79f6ea1051665364f27 (patch)
treed045f1b3564d88eb837728c2677c77550eff814b
parent21be46f3aecb857c5875dc8c503e543c852cd982 (diff)
modified: Makefile
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e4d4600..79670a8 100644
--- a/Makefile
+++ b/Makefile
@@ -8,13 +8,13 @@ STRIP=i686-pc-mingw32-strip
WINDRES=i686-pc-mingw32-windres
LD=i686-pc-mingw32-ld
LNK_COMMON=-lkernel32
-MAINOBJS=stopspam.o eventhooker.o init.o options.o utilities.o
+MAINOBJS=eventhooker.o init.o options.o utilities.o stopspam.o
RESOURCES=stopspam.rc
all: main
main: $(MAINOBJS)
- $(WINDRES) -i $(RESOURCES)
- $(CXX) $(MAINOBJS) $(LNK_COMMON) $(LDFLAGS) -o stopspam.dll
+ $(WINDRES) -i $(RESOURCES) -o stopspam_res.o
+ $(CXX) $(MAINOBJS) stopspam_res.o $(LNK_COMMON) $(LDFLAGS) -o stopspam.dll
$(STRIP) stopspam.dll
upx -9 stopspam.dll
clean: