Codebase list libcryptx-perl / 3fa2c84
makefile tuning Karel Miko 6 years ago
3 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
1010 glob('src/ltc/*/*/*/*/*.c'),
1111 );
1212 my $myextlib = "src/liballinone$Config{lib_ext}";
13 my $mycflags = "$Config{ccflags}";
14 #my $mycflags = "$Config{cccdlflags} $Config{ccflags} $Config{optimize}";
13 my $mycflags = "$Config{ccflags} $Config{cccdlflags} $Config{optimize}";
1514
1615 #FIX: gcc with -flto is a trouble maker see https://github.com/DCIT/perl-CryptX/issues/32
1716 $mycflags =~ s/-flto\b//g;
164164 .SUFFIXES: .o .c
165165
166166 .c$(OBJ_EXT):
167 $(CC) $(CFLAGS) -Iltm -Iltc/headers -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC -c $< -o $@
167 $(CC) -Iltm -Iltc/headers -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC $(CFLAGS) -c $< -o $@
166166 $(RM_F) $(OBJS) liballinone.lib
167167
168168 .c.obj:
169 cl $(CFLAGS) /Iltm /Iltc/headers /DLTC_SOURCE /DLTC_NO_TEST /DLTC_NO_PROTOTYPES /DLTM_DESC /c $< /Fo$@
169 cl /Iltm /Iltc/headers /DLTC_SOURCE /DLTC_NO_TEST /DLTC_NO_PROTOTYPES /DLTM_DESC $(CFLAGS) /c $< /Fo$@
170170