Help language development. Donate to The Perl Foundation

Math::Libgsl::Random cpan:FRITH last updated on 2020-03-01

Makefile.in
SRC=src

all : lib

lib : resources/libraries/%LIB-NAME%

# 'all', with compilation warnings
debug :
	%MAKE% "DBG=-Wall -g"  all

resources/libraries/%LIB-NAME% : $(SRC)/random%O%
	%LD% %LDSHARED% %LDFLAGS% %LDOUT%resources/libraries/%LIB-NAME% \
		$(SRC)/random%O% \
		%LIB-LDFLAGS%

%%O%: %.c
	%CC% -I $(SRC) -c %CCSHARED% %CCFLAGS% -o [email protected] $< %LIB-CFLAGS% $(DBG)

clean :
	@rm -f $(SRC)/*%O% resources/libraries/*%LIB-NAME%