comparison libtomcrypt/Makefile.in @ 1889:fc4c9ef61856

Split CPPFLAGS and CFLAGS more carefully This has no change to the build, but makes it easier to try other build tools that only want CPPFLAGS
author Matt Johnston <matt@ucc.asn.au>
date Tue, 22 Mar 2022 16:17:05 +0800
parents f68ee671bf6d
children
comparison
equal deleted inserted replaced
1875:bfa92efd814b 1889:fc4c9ef61856
40 #RANLIB = ranlib 40 #RANLIB = ranlib
41 #CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath 41 #CFLAGS = -O2 -DUSE_LTM -DLTM_DESC -I../libtommath
42 EXTRALIBS = ../libtommath/libtommath.a 42 EXTRALIBS = ../libtommath/libtommath.a
43 43
44 #Compilation flags 44 #Compilation flags
45 LTC_CFLAGS = -Isrc/headers/ -I$(srcdir)/src/headers/ -I../ -I$(srcdir)/../ -DLTC_SOURCE -I../libtommath/ -I$(srcdir)/../libtommath/ $(CFLAGS) 45 LTC_CFLAGS = -Isrc/headers/ -I$(srcdir)/src/headers/ -I../ -I$(srcdir)/../ -DLTC_SOURCE -I../libtommath/ -I$(srcdir)/../libtommath/ $(CFLAGS) $(CPPFLAGS)
46 LTC_LDFLAGS = $(LDFLAGS) $(EXTRALIBS) 46 LTC_LDFLAGS = $(LDFLAGS) $(EXTRALIBS)
47 VERSION=1.18.1 47 VERSION=1.18.1
48 48
49 #Libraries to be created (this makefile builds only static libraries) 49 #Libraries to be created (this makefile builds only static libraries)
50 LIBMAIN_S =libtomcrypt.a 50 LIBMAIN_S =libtomcrypt.a