- add missing file
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@25 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
parent
334b27b557
commit
e806fd27e8
1 changed files with 25 additions and 0 deletions
25
lwip/src/core/Makefile
Normal file
25
lwip/src/core/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
C_source = init.c mem.c memp.c netif.c pbuf.c stats.c udp.c tcp.c
|
||||
|
||||
OBJS += $(patsubst %.c, %.o, $(filter %.c, $(C_source)))
|
||||
|
||||
# other implicit rules
|
||||
%.o : %.c
|
||||
$(CC) -c $(CFLAGS) -o $@ $<
|
||||
|
||||
default:
|
||||
$(MAKE) all
|
||||
|
||||
all:
|
||||
$(MAKE) $(LIBLWIP)
|
||||
|
||||
$(LIBLWIP): $(OBJS)
|
||||
$(AR) $(ARFLAGS) $(LIBLWIP) $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) *.o *~
|
||||
|
||||
depend:
|
||||
$(CC) -MM $(CFLAGS) $(C_source) $(CPP_source) > Makefile.dep
|
||||
|
||||
-include Makefile.dep
|
||||
# DO NOT DELETE
|
Loading…
Add table
Reference in a new issue