*** empty log message ***
This commit is contained in:
parent
7aba1b31c0
commit
65c52bac68
1 changed files with 4 additions and 0 deletions
|
@ -18,13 +18,17 @@ LOCALDIR = $(shell pwd)
|
||||||
BINDIR=../bin
|
BINDIR=../bin
|
||||||
CFILES := $(shell ls *.c)
|
CFILES := $(shell ls *.c)
|
||||||
OFILES := $(patsubst %.c,%.o,$(CFILES))
|
OFILES := $(patsubst %.c,%.o,$(CFILES))
|
||||||
|
DESTFILE=libnazgul.a
|
||||||
|
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build : $(OFILES)
|
build : $(OFILES)
|
||||||
|
ar rc $(DESTFILE) $(OFILES)
|
||||||
|
ranlib $(DESTFILE)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo -e "Cleaning..."
|
@echo -e "Cleaning..."
|
||||||
|
@rm -f *.a
|
||||||
@rm -f *.o
|
@rm -f *.o
|
||||||
|
|
||||||
%.o : %.c
|
%.o : %.c
|
||||||
|
|
Loading…
Reference in a new issue