diff options
Diffstat (limited to 'src/Makefile.win')
-rw-r--r-- | src/Makefile.win | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/Makefile.win b/src/Makefile.win new file mode 100644 index 0000000..8205892 --- /dev/null +++ b/src/Makefile.win @@ -0,0 +1,62 @@ +## Makefile.am for PluggIt/src + +DFB = /cygdrive/c/DirectFB +PPDFB = /cygdrive/c/++DFB + +INCLUDES = -I. \ + -I$(DFB)/include \ + -I$(DFB)/lib \ + -I$(DFB)/src \ + -I$(PPDFB)/include + +CPPFLAGS = \ + -D__WIN32__ + +LDADD = \ + $(DFB)/proxy/dispatcher/*.o \ + $(DFB)/proxy/requestor/*.o \ + -lppdfb -ldirectfb -lvoodoo -lfusion -ldirect \ + -lgdi32 -luser32 -lversion + #-lX11 -lXext -lXdamage -lXfixes + +all: /tmp/pluggit + +OBJECTS = \ + classes.o \ + videodriver.o \ + videodrivercheck.o + +/tmp/pluggit: $(OBJECTS) + $(CXX) $+ $(LDADD) -o /tmp/pluggit + +.cpp.o: + $(CXX) -o $@ -c $< $(INCLUDES) $(CPPFLAGS) + + +CLASSES = \ + Exception.cxx \ + OutOfMemoryException.cxx \ + \ + Clock.cxx \ + FPS.cxx \ + Options.cxx \ + Random.cxx \ + Updates.cxx \ + \ + Runnable.cxx \ + Thread.cxx \ + \ + Scaler.cxx \ + \ + View.cxx \ + Source.cxx \ + SourceWin32.cxx \ + \ + Main.cxx + + +export CPPFLAGS + +classes.cpp: $(CLASSES) *.h Makefile.win gen_classes.sh main.c + ./gen_classes.sh $(CLASSES) > classes.cpp + |