source: titan/plugins/networkbrowser/netlib/Makefile.4.3 @ 43343

Last change on this file since 43343 was 43343, checked in by obi, 7 months ago

test netbrowser

  • Property svn:executable set to *
File size: 687 bytes
Line 
1LIB = netlib.a
2
3OBJS = list.o nbtscan.o range.o showmount.o smbinfo.o statusq.o
4
5DEPS = $(patsubst %.o,%.d,$(OBJS))
6
7#CC = $(HOME)/flashimg/BUILDGIT/checkout_mips360/builds/titannit/inihdp/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux-gcc
8#AR = $(HOME)/flashimg/BUILDGIT/checkout_mips360/builds/titannit/inihdp/tmp/sysroots/x86_64-linux/usr/bin/mipsel-oe-linux/mipsel-oe-linux-ar
9
10#CFLAGS = -Os -Wall -fPIC -I. -I $SRC/tmp/sysroots/$BOX/usr/include
11CFLAGS = -Os -Wall -fPIC -I. -I $(sysroot)/usr/include
12
13all: $(LIB)
14
15$(LIB): $(OBJS) Makefile
16        $(AR) ru  $@ $(OBJS)
17        ranlib $@
18
19%.o: %.c
20        $(CC) -MD $(CFLAGS) -c $<
21
22clean:
23        rm $(OBJS) $(DEPS) $(LIB)
24
25
26-include $(DEPS)
Note: See TracBrowser for help on using the repository browser.