aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2014-08-18 01:41:50 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@draxit.de>2014-08-18 01:41:50 +0200
commit568fa02a97a4087923abe3a5a42c8c747203f795 (patch)
tree3d33ab9c3a1ba40ef930067016177fb9836ee055 /test/Makefile
parent20f7478da933e74238e868bb592efb4e783ebdb9 (diff)
downloadwglarb-568fa02a97a4087923abe3a5a42c8c747203f795.tar.gz
wglarb-568fa02a97a4087923abe3a5a42c8c747203f795.tar.bz2
added shared window / context test
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile
index 946272e..6882ab5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -10,7 +10,7 @@ WINDRES32=$(TARGET32)-windres
.PHONY: all
-all: layered64.exe layered32.exe
+all: layered64.exe layered32.exe shared64.exe shared32.exe
layered64.exe: layered.c layered64_rc.o
$(CC64) $(CFLAGS) -o layered64.exe layered.c layered64_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
@@ -25,3 +25,17 @@ layered64_rc.o: layered.rc manifest.xml
layered32_rc.o: layered.rc manifest.xml
$(WINDRES32) --input layered.rc --output layered32_rc.o
+
+shared64.exe: shared.c shared64_rc.o
+ $(CC64) $(CFLAGS) -o shared64.exe shared.c shared64_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
+
+shared32.exe: shared.c shared32_rc.o
+ $(CC32) -march=i686 $(CFLAGS) -o shared32.exe shared.c shared32_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
+
+
+shared64_rc.o: layered.rc manifest.xml
+ $(WINDRES64) --input shared.rc --output shared64_rc.o
+
+shared32_rc.o: layered.rc manifest.xml
+ $(WINDRES32) --input shared.rc --output shared32_rc.o
+