blob: 4f29ee7476e5491fc5ba260802212872d3118ded (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
BASEPATH=..
.c.o:
$(CC) -o $@ $< $(CCFLAGS)
all: start \
dll \
lib \
end
!include $(BASEPATH)\OS2MAK.INC
dll: $(BASEPATH)\gphoto2.dll
lib: $(BASEPATH)\lib\libgphoto2.a
OBJS=core.o \
exif.o \
file.o \
filesys.o \
library.o \
setting.o \
widget.o \
camera.o \
frontend.o \
port.o \
result.o \
list.o \
abilities-list.o \
abilities.o
$(BASEPATH)\lib\libgphoto2.a: $(OBJS)
@implib gphoto2.lib $(BASEPATH)\gphoto2.dll
@emximp -o $@ gphoto2.lib
gphoto2.def: $(OBJS)
@$(MAKEDEF)
$(BASEPATH)\gphoto2.dll: gphoto2.def $(OBJS)
$(LINK) $(DLLLINKFLAGS) -o $@ $** -L..\lib -Zbin-files -ldllib -llibgphoto2_port
|