File: makefile.mingw.in

package info (click to toggle)
gtkgl2 1.99.0-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,104 kB
  • ctags: 330
  • sloc: sh: 6,744; ansic: 3,173; makefile: 125
file content (26 lines) | stat: -rw-r--r-- 581 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##
## Obsolete. Use autoconfiscation.
##

TOP = ../..

include ../build/win32/make.mingw

GTKGLAREA_VER=@VERSION@

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@,@VERSION@,' <$< >$@