Project

General

Profile

Download (299 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#include ../../makevars
2

    
3
OBJS=vector.o command.o buffer.o vty.o
4
CFLAGS+=-fPIC
5
NAME=zebvty
6

    
7
all: lib$(NAME).a lib$(NAME).so
8

    
9
lib$(NAME).a: $(OBJS)
10
	$(AR) r $@ $^
11

    
12
lib$(NAME).so: $(OBJS)
13
	$(LD) -x --shared -o $@ $^
14

    
15
%.o: %.c
16
	$(CC) $(CFLAGS) -o $@ -c $^
17

    
18
clean:
19
	@rm -f *.o lib$(NAME).a lib$(NAME).so
(1-1/10)
Add picture from clipboard (Maximum size: 48.8 MB)