Help language development. Donate to The Perl Foundation

Base64::Native zef:dwarring last updated on 2022-07-01

Makefile.in
DIR=src
SRC=$(DIR)/%LIB_BASE%
TGT=resources/libraries/%LIB_NAME%

all : lib

# 'all', with compilation warnings and debug symbols enabled
debug :
	%MAKE% "CF=-Wall -g"  all

lib : $(TGT)

$(TGT) : $(SRC)%O%
	%LD% %LDSHARED% %LDFLAGS% %LDOUT%$(TGT) $(SRC)%O%

$(SRC)%O% : $(SRC).c $(SRC).h
	%CC% -I $(DIR) -c %CCSHARED% %CCFLAGS% %CCOUT%$(SRC)%O% $(SRC).c

test : all
	@prove6 -I . -v

clean :
	@rm -f $(SRC)*%O% $(TGT)

realclean : clean
	@rm -f Makefile