1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
#------------------------------------------------------------------------
#
# File : Makefile
#
# This is the Makefile for contributed code of the E distribution. This is
# more convoluted than I like because it deals with PicoSat, which follows
# some conventions that are different frome the ones in E.
#
# Author: Stephan Schulz
#
# Created: Mon Nov 27 12:28:52 CET 2017
#
#------------------------------------------------------------------------
include ../Makefile.vars
PICOSAT = picosat-965
all: picosat
# Remove all automatically generated files
clean: $(PICOSAT)/Makefile
cd $(PICOSAT); $(MAKE) clean
@rm -f *.a
# Services (provided by the master Makefile)
include ../Makefile.services
config:
cd $(PICOSAT); ./configure.sh -t
$(PICOSAT)/makefile: $(PICOSAT)/makefile.in
make config
picosat: $(PICOSAT)/makefile
cd $(PICOSAT); $(MAKE); $(MAKE)
@if [ ! -h CONTRIB.a ]; then\
$(LN) $(PICOSAT)/libpicosat.a CONTRIB.a;\
fi;
|