--- /dev/null
+CC=gcc
+CXX=g++
+LD=ld
+
+CFLAGS=-Wall
+
+CXXFLAGS=-Wall -I /usr/local/ssl/include/
+LDFLAGS=-Wall -I /usr/local/ssl/include/
+
+all: rtmpdump
+
+clean:
+ rm -f *.o
+
+rtmpdump: bytes.o log.o rtmp.o AMFObject.o rtmppacket.o rtmpdump.o parseurl.o dh.o handshake.o
+ $(CXX) $(LDFLAGS) $^ -static -o $@_win32.exe -lws2_32 -lwinmm -lcrypto -lgdi32
+
+bytes.o: bytes.cpp bytes.h Makefile
+log.o: log.cpp log.h Makefile
+rtmp.o: rtmp.cpp rtmp.h log.h AMFObject.h Makefile
+AMFObject.o: AMFObject.cpp AMFObject.h log.h rtmp.h Makefile
+rtmppacket.o: rtmppacket.cpp rtmppacket.h log.h Makefile
+rtmpdump.o: rtmpdump.cpp rtmp.h log.h AMFObject.h Makefile
+parseurl.o: parseurl.cpp parseurl.h log.h Makefile
+streams.o: streams.cpp log.h Makefile
+dh.o: dh.cpp dh.h log.h Makefile
+handshake.o: handshake.cpp log.h Makefile
+