diff options
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile index de20a97..cd497b0 100644 --- a/test/Makefile +++ b/test/Makefile @@ -1,12 +1,13 @@ -CC=i686-w64-mingw32-gcc +TARGET=x86_64-w64-mingw32 +CC=-$(TARGET)-gcc CFLAGS=-static-libgcc -static-libstdc++ -I.. LIBS=-lopengl32 -lgdi32 -lkernel32 -WINDRES=i686-w64-mingw32-windres +WINDRES=$(TARGET)-windres -layered.exe: layered.c layered.rc.o - $(CC) $(CFLAGS) -o layered.exe layered.c layered.rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows +layered.exe: layered.c layered_rc.o + $(CC) $(CFLAGS) -o layered.exe layered.c layered_rc.o ../wglarb.c $(LIBS) -Wl,--subsystem,windows -layered.rc.o: layered.rc - $(WINDRES) --input layered.rc --output layered.rc.o +layered_rc.o: layered.rc manifest + $(WINDRES) --input layered.rc --output layered_rc.o |