10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-24 21:33:52 +01:00
quantum_package/src/Makefile

26 lines
601 B
Makefile
Raw Normal View History

default: all
SRC=
OBJ=
include $(QPACKAGE_ROOT)/src/Makefile.common
2014-10-10 00:26:49 +02:00
.PHONY: executables
2014-05-27 17:30:44 +02:00
all: all_modules
all_clean:
@for i in $(NEEDED_MODULES) ; do cd $$i ; make veryclean ; make clean_links ; cd .. ; done
all_modules: $(NEEDED_MODULES)
$(NEEDED_MODULES): FORCE
@cd $@ ; unset NEEDED_MODULES INCLUDE_DIRS ; make
2014-10-10 00:26:49 +02:00
executables:
rm -f executables ; \
2015-01-09 23:52:44 +01:00
for EXE in $$(find $(QPACKAGE_ROOT)/src -perm /u+x -type f | grep -e "$(QPACKAGE_ROOT)/src/[^/]*/[^/]*$$" |sort ) ; \
2014-10-10 00:26:49 +02:00
do printf "%-30s %s\n" $$(basename $$EXE) $$EXE | sed "s|$(QPACKAGE_ROOT)|\$$QPACKAGE_ROOT|g" >> executables ;\
done