Skip to content
Snippets Groups Projects
Select Git revision
  • f11ec7ba8a2c5f90d12249f1e571464e646e7784
  • master default
  • labcomm2014
  • labcomm2006
  • python_sig_hash
  • typedefs
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.6
  • v2015.0
  • v2014.5
  • v2014.4
  • v2006.0
  • v2014.3
  • v2014.2
  • v2014.1
  • v2014.0
  • v2013.0
21 results

Makefile

Blame
  • Makefile 614 B
    SUBDIRS=compiler lib test examples packaging
    export LABCOMM_JAR=$(shell pwd)/compiler/labcomm_compiler.jar
    export LABCOMM=java -jar $(LABCOMM_JAR) 
    
    .PHONY: all
    all: $(SUBDIRS:%=all-%)
    
    .PHONY: all-%
    all-%:
    	LD_LIBRARY_PATH=`pwd`/lib/c $(MAKE) -C $*
    
    .PHONY: test
    test: $(SUBDIRS:%=test-%)
    
    .PHONY: test-%
    test-%:
    	LD_LIBRARY_PATH=`pwd`/lib/c $(MAKE) -C $* test
    
    .PHONY: clean
    clean: $(SUBDIRS:%=clean-%)
    
    .PHONY: clean-%
    clean-%:
    	$(MAKE) -C $* clean
    
    .PHONY: distclean
    distclean: clean $(SUBDIRS:%=distclean-%)
    
    .PHONY: distclean-%
    distclean-%:
    	$(MAKE) -C $* distclean
    
    .PHONY: srpm
    srpm:
    	make -C packaging $@