summaryrefslogtreecommitdiff
path: root/win32/source/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'win32/source/Makefile')
-rwxr-xr-xwin32/source/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/win32/source/Makefile b/win32/source/Makefile
new file mode 100755
index 000000000..e36aab3cd
--- /dev/null
+++ b/win32/source/Makefile
@@ -0,0 +1,17 @@
+# Makefile for compilation xineui under cygwin.
+# It requires installed libxine1.
+
+OBJS = main.o wnd.ctrl.o wnd.panel.o wnd.playlist.o wnd.video.o xineui.o resource.o
+CFLAGS=-g -O2
+
+all: $(OBJS)
+ $(CXX) $(OBJS) `xine-config --libs` -luser32 -lgdi32 -lcomdlg32 -lcomctl32 -o xineui
+
+resource.o: resource.rc
+ windres -i $< -o $@
+
+clean:
+ -$(RM) $(OBJS) *.exe *~
+
+.cpp.o:
+ $(CC) -W -Wall $(CFLAGS) `xine-config --cflags` -I../include -c $<