7/6
This commit is contained in:
1 parent
af6d263d22
commit
f32082bb15
16 files changed
+1503
-700
No files matched your search
@@ -9,9 +9,8 @@ TDIR = ./tests
|
||||
|
||||
include config.mk
|
||||
|
||||
all:
|
||||
@echo "No make option specified."
|
||||
@echo "Run 'make help' for a full list of options."
|
||||
all: lib
|
||||
@echo "Built static library"
|
||||
|
||||
help:
|
||||
@echo "Make options for libglacier:"
|
||||
@@ -30,9 +29,9 @@ test: deprecate
|
||||
cp etc/example.cfg ./glacier.cfg
|
||||
|
||||
lib: $(SDIR)/libglacier.c
|
||||
mkdir build
|
||||
mkdir build/lib
|
||||
$(CC) $(SDIR)/libglacier.c -c $(LIBFLAGS) -o $(BDIR)/lib/libglacier.o
|
||||
mkdir -p build
|
||||
mkdir -p build/lib
|
||||
$(CC) $(SDIR)/libglacier.c -c -o $(BDIR)/lib/libglacier.o $(LIBFLAGS)
|
||||
$(AR) -rc $(BDIR)/lib/libglacier.a build/lib/libglacier.o
|
||||
|
||||
check: lib $(BDIR) $(TDIR)/unit-tests.c
|
||||
|
||||
Reference in new issue
Block a user