summaryrefslogtreecommitdiffstats
path: root/tools/ddcprobe/int10/Makefile
blob: b2a559140f1b531d1ff9f2cbdba590bf5977fadd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
CC	= gcc
INCS	=
CFLAGS	= -O -Wall
SRCS	= emu_vm86.c i10_int.c i10_io.c i10_pci.c i10_v86.c i10_vbios.c
OBJS	= $(SRCS:%.c=%.o)

TARGETLIB = ../libint10.a

all: $(TARGETLIB)

$(TARGETLIB): $(OBJS)
	@ar rv $(TARGETLIB) $(OBJS)

%.o: %.c
	$(CC) $(CFLAGS) $(INCS) -c $< -o $@

clean:
	@rm -f $(TARGETLIB)
	@rm -f $(OBJS) validate.o