File: makefile.mingw

package info (click to toggle)
gtkglarea 1.2.3-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,340 kB
  • ctags: 292
  • sloc: sh: 6,878; ansic: 2,724; makefile: 96
file content (22 lines) | stat: -rw-r--r-- 531 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TOP = ../..

include ../build/win32/make.mingw

GTKGLAREA_VER=1.2.3

INCLUDES = -I . -I ..
DEPCFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS) $(OPENGL_CFLAGS)

TARGET = libgtkgl-$(GTKGLAREA_VER).dll

OBJS   = gdkgl-win32.o gtkglarea.o

all : $(TARGET)

$(TARGET) : $(OBJS)
	$(GLIB)/build-dll gtkgl $(GTKGLAREA_VER) gtkgl.def $(OBJS) $(GTK_LIBS) $(GLIB_LIBS) $(OPENGL_LIBS) -lgdi32

# Hack to get an updated makefile.mingw automatically if updating
# makefile.mingw.in
makefile.mingw: makefile.mingw.in
	sed -e 's,@VER[S]ION@,1.2.3,' <$< >$@