summaryrefslogtreecommitdiff
path: root/src/wincap/Makefile
blob: ec6a03e01d1786d8fabba2bda4df5db9000e8010 (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
# Makefile for creating a library of the parts of Wincap used by Icon.

include ../../Makedefs

W32DEFS = -mwin32
OBJS = copy.o dibutil.o errors.o file.o

.c.o:
	$(CC) -c $(CFLAGS) $(W32DEFS) $*.c

libWincap.a: $(OBJS)
	rm -f $@
	ar qc $@ $(OBJS)

copy.o: copy.c dibapi.h dibutil.h errors.h

dibutil.o: dibutil.c dibutil.h

errors.o: errors.c errors.h

file.o: file.c  dibapi.h dibutil.h errors.h

Clean:
	rm -f *.o *.a