init
This commit is contained in:
17
libnet/Makefile
Normal file
17
libnet/Makefile
Normal file
@@ -0,0 +1,17 @@
|
||||
LIBTARGET = libnet.a
|
||||
|
||||
all: $(LIBTARGET)
|
||||
|
||||
CFILES = net.c netdata.c list.c mesg.c
|
||||
|
||||
OBJS = $(CFILES:.c=.o)
|
||||
|
||||
$(LIBTARGET): $(OBJS)
|
||||
-rm -f $(LIBTARGET)
|
||||
ar rv $(LIBTARGET) $(OBJS)
|
||||
$(RANLIB) $(LIBTARGET)
|
||||
|
||||
clean:
|
||||
-rm $(LIBTARGET) *.o
|
||||
tags:
|
||||
etags -t *.[ch]
|
Reference in New Issue
Block a user