summaryrefslogtreecommitdiff
path: root/win32/source/Makefile
diff options
context:
space:
mode:
authorFrantišek Dvořák <valtri@users.sourceforge.net>2004-01-03 20:36:09 +0000
committerFrantišek Dvořák <valtri@users.sourceforge.net>2004-01-03 20:36:09 +0000
commit30e9c39c8f141bd8f1d73ed0771503f2e3ecd5e8 (patch)
tree610a244fa3d170e12373c60e3d67dfbeedce27f8 /win32/source/Makefile
parent2bf8b573f108274ad86bf05319bf92e65d76c699 (diff)
downloadxine-lib-30e9c39c8f141bd8f1d73ed0771503f2e3ecd5e8.tar.gz
xine-lib-30e9c39c8f141bd8f1d73ed0771503f2e3ecd5e8.tar.bz2
Makefile for compiling win32 xineui under cygwin against already installed libxine. Don't use common.h in include/ directory, there it's together with helping system files and CygWin wouldn't be happy.
CVS patchset: 5985 CVS date: 2004/01/03 20:36:09
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 $<