tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / libkvm / Makefile
blob445e932496f523da73ae1898603b5a6bc2be8a05
1 CC= gcc -noixemul
2 AR= ar
3 AR_FLAGS= rs
5 OPTIMIZATION-OPTION = -O2
6 BASEREL-OPTION =
7 DEBUG-OPTION = -g
8 VERBOSITY = -Wall -Wno-unused -Wno-uninitialized
9 OBJECT-ONLY = -c
11 CFLAGS= $(OPTIMIZATION-OPTION) $(BASEREL-OPTION) $(DEBUG-OPTION)\
12 $(VERBOSITY) $(OBJECT-ONLY)
14 INCLUDE_DIRS= -I ../include -I ../bsdsocket
16 SRCS = kvm.c kvm_open.c kvm_geterr.c kvm_read.c
18 LIB = libkvm.a
20 OBJS = kvm.o kvm_open.o kvm_geterr.o kvm_read.o
22 .SUFFIXES: .c .o
24 # Generic rules
26 .c.o:
27 $(CC) $(CFLAGS) $(OFLAGS) $(DEFS) $(INCLUDE_DIRS) $*.c
29 all: $(LIB)
32 # The library
34 $(LIB): $(OBJS)
35 -$(RM) $@
36 $(AR) $(AR_FLAGS) $@ $(OBJS)
37 clean:
38 -$(RM) *.a *.o
40 install:
42 package: