Move common code to a common/ subdirectory

This commit is contained in:
H. Peter Anvin 2006-10-04 10:19:06 -07:00
parent a548569a3e
commit 40133b212b
11 changed files with 36 additions and 17 deletions

25
common/Makefile Normal file
View 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 *~