blob: de02cd25f5b957af6525038f658d884302e6602f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
CC = gcc
INCS = -I.. -I.
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
|