forked from mirrors/tftp-hpa-google
Move common code to a common/ subdirectory
This commit is contained in:
parent
a548569a3e
commit
40133b212b
11 changed files with 36 additions and 17 deletions
25
common/Makefile
Normal file
25
common/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
SRCROOT = ..
|
||||
VERSION = $(shell cat ../version)
|
||||
|
||||
-include ../MCONFIG
|
||||
include ../MRULES
|
||||
|
||||
OBJS = tftpsubs.$(O)
|
||||
LIB = libcommon.a
|
||||
|
||||
all: $(LIB)
|
||||
|
||||
$(LIB): $(OBJS)
|
||||
-rm -f $(LIB)
|
||||
$(AR) $(LIB) $(OBJS)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
$(OBJS): tftpsubs.h
|
||||
|
||||
install:
|
||||
|
||||
clean:
|
||||
rm -f *.o *.obj *.exe $(LIB)
|
||||
|
||||
distclean: clean
|
||||
rm -f *~
|
Loading…
Add table
Add a link
Reference in a new issue