aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile19
1 files changed, 16 insertions, 3 deletions
diff --git a/test/Makefile b/test/Makefile
index 52128ef..2b5a0b7 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -10,12 +10,12 @@ 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
+layered64.exe: layered.c layered64_rc.o ../wglarb.c
$(CC64) $(CFLAGS) -o layered64.exe layered.c layered64_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
-layered32.exe: layered.c layered32_rc.o
+layered32.exe: layered.c layered32_rc.o ../wglarb.c
$(CC32) -march=i686 $(CFLAGS) -o layered32.exe layered.c layered32_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
@@ -25,5 +25,18 @@ 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 ../wglarb.c
+ $(CC64) $(CFLAGS) -o shared64.exe shared.c shared64_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows
+
+shared32.exe: shared.c shared32_rc.o ../wglarb.c
+ $(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
+
clean:
rm *.o *.exe