Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ed67b2b07f
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (30 sloc) 1.492 kb
PACKAGE_VERSION=$(shell cat VERSION)
CFLAGS=-g -Wall -std=gnu99 -DPACKAGE_VERSION=\"$(PACKAGE_VERSION)\" \
-mms-bitfields -Ic:/gtk/include/gtk-2.0 -Ic:/gtk/lib/gtk-2.0/include -Ic:/gtk/include/atk-1.0 -Ic:/gtk/include/cairo -Ic:/gtk/include/pango-1.0 -Ic:/gtk/include/glib-2.0 -Ic:/gtk/lib/glib-2.0/include -Ic:/gtk/include/freetype2 -Ic:/gtk/include -Ic:/gtk/include/libpng14 -Ic:/gtk/include/libxml2 \
-Ic:/openssl-win32/include
LDFLAGS=-Lc:/gtk/lib \
-Lc:/gtk/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lglib-2.0 -lws2_32 -lintl \
-Lc:/openssl-win32/lib/mingw \
-leay32 \
-lshell32 \
-lsqlite3
all : gol.exe displays
displays:
cd plugins && ${MAKE} -f Makefile.w32
cd display/fog && ${MAKE} -f Makefile.w32 && cp libfog.dll ..
cd display/balloon && ${MAKE} -f Makefile.w32 && cp libballoon.dll ..
cd display/nico2 && ${MAKE} -f Makefile.w32 && cp libnico2.dll ..
console : gol.o
gcc -o gol.exe -mconsole gol.o $(LDFLAGS)
gol.exe : gol.o gol.res
gcc -g -o gol.exe gol.o $(LDFLAGS) gol.res
gol.o : gol.c gol.h
gcc -c $(CFLAGS) -o gol.o gol.c
gol.res : gol.rc
windres -O coff gol.rc gol.res
clean:
-rm *.o *.res *.exe
-cd plugins && ${MAKE} -f Makefile.w32 clean
-cd display/fog && ${MAKE} -f Makefile.w32 clean
-cd display/balloon && ${MAKE} -f Makefile.w32 clean
-cd display/nico2 && ${MAKE} -f Makefile.w32 clean
Jump to Line
Something went wrong with that request. Please try again.