Skip to content

Commit

Permalink
Pass makeflags to sub-make invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Jul 24, 2024
1 parent 767cd29 commit a0e4898
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ export CSCOUT_DIR=$(shell pwd)
.PHONY: src/build/cscout swill/libswill.a btyacc/btyacc

src/build/cscout: swill/libswill.a btyacc/btyacc
cd src && $(MAKE)
cd src && $(MAKE) $(MAKEFLAGS)

swill/libswill.a: swill
cd swill && $(MAKE)
cd swill && $(MAKE) $(MAKEFLAGS)

swill:
git clone https://github.com/dspinellis/swill.git
cd swill && ./configure

btyacc/btyacc: btyacc
cd btyacc && $(MAKE)
cd btyacc && $(MAKE) $(MAKEFLAGS)

btyacc:
git clone https://github.com/dspinellis/btyacc

test: src/build/cscout
cd src && $(MAKE) test
cd src && $(MAKE) $(MAKEFLAGS) test

clean:
cd src && $(MAKE) clean
cd src && $(MAKE) $(MAKEFLAGS) clean

install: src/build/cscout
cd src && $(MAKE) install
cd src && $(MAKE) $(MAKEFLAGS) install

uninstall:
cd src && $(MAKE) uninstall
cd src && $(MAKE) $(MAKEFLAGS) uninstall

example: src/build/cscout
cd src && $(MAKE) example
cd src && $(MAKE) $(MAKEFLAGS) example

0 comments on commit a0e4898

Please sign in to comment.