Implement a new caching system to make repeated runs much much faster.
This commit is contained in:
parent
4a008a82b0
commit
5e0e140b09
8 changed files with 252 additions and 44 deletions
5
Makefile
5
Makefile
|
|
@ -2,13 +2,12 @@ include config.mk
|
|||
|
||||
# flags and incs
|
||||
PKGS = $(GITLIB)
|
||||
CFLAGS = -DVERSION=\"$(VERSION)\" -Wall -pedantic -O3 $(GIT) $(ERR) $(EXPLAIN)
|
||||
CFLAGS = -DVERSION=\"$(VERSION)\" -Wall -pedantic -O3 $(GIT) $(GITHASH) $(ERR) $(EXPLAIN)
|
||||
LIBS = `$(PKG_CONFIG) --libs --cflags $(PKGS)`
|
||||
|
||||
all: XD
|
||||
XD: XD.o
|
||||
XD: XD.o hash.o helpers.o
|
||||
$(CC) *.o $(CFLAGS) $(LIBS) -o $@
|
||||
XD.o: XD.c
|
||||
|
||||
clean:
|
||||
rm -f XD *.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue