summaryrefslogtreecommitdiff
path: root/libgphoto2/makefile.os2
blob: bc1469a019a472473a2ffca6e5952500ed343180 (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
44
45
46
47
48
49
CCFLAGS=-O2 -c -I.. -I..\include -I..\libgpio\include -Zmtd -Zcrtdll -Zbin-files -D__ST_MT_ERRNO_ -I. -DOS2 -DHAVE_TERMIOS_H
CC=gcc
MKLIB=ar r


all: start \
  lib \
  end

start:
  @echo ****
  @echo   Entering     : $(MAKEDIR)
  @echo   using CCFLAGS: $(CCFLAGS)
  @echo ****

end:
  @echo ****
  @echo   Done: $(MAKEDIR)
  @echo ****

lib: ..\lib\libgphoto2.a

..\obj\core.o: core.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\exif.o: exif.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\file.o: file.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\fs.o: fs.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\library.o: library.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\settings.o: settings.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\util.o: util.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\obj\widget.o: widget.c
  @$(CC) -o $@ $** $(CCFLAGS)

..\lib\libgphoto2.a: ..\obj\core.o ..\obj\exif.o ..\obj\file.o ..\obj\library.o ..\obj\settings.o ..\obj\util.o ..\obj\widget.o ..\obj\fs.o
  @$(MKLIB) $@ $**