tuning makefile.mingw+msvc

This commit is contained in:
Karel Miko 2017-06-08 20:07:08 +02:00 committed by Steffen Jaeckel
parent f47a71bc6c
commit d72d7d1d32
2 changed files with 4 additions and 3 deletions

View File

@ -238,8 +238,8 @@ $(LIBMAIN_D) $(LIBMAIN_I): $(OBJECTS)
#Demo tools/utilities #Demo tools/utilities
hashsum.exe: demos/hashsum.o $(LIBMAIN_S) hashsum.exe: demos/hashsum.o $(LIBMAIN_S)
$(CC) demos/hashsum.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@ $(CC) demos/hashsum.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@
crypt.exe: demos/crypt.o $(LIBMAIN_S) ltcrypt.exe: demos/ltcrypt.o $(LIBMAIN_S)
$(CC) demos/crypt.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@ $(CC) demos/ltcrypt.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@
small.exe: demos/small.o $(LIBMAIN_S) small.exe: demos/small.o $(LIBMAIN_S)
$(CC) demos/small.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@ $(CC) demos/small.o $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@
tv_gen.exe: demos/tv_gen.o $(LIBMAIN_S) tv_gen.exe: demos/tv_gen.o $(LIBMAIN_S)
@ -250,7 +250,7 @@ timing.exe: demos/timing.o $(LIBMAIN_S)
#Tests #Tests
test.exe: $(TOBJECTS) $(LIBMAIN_S) test.exe: $(TOBJECTS) $(LIBMAIN_S)
$(CC) $(TOBJECTS) $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@ $(CC) $(TOBJECTS) $(LIBMAIN_S) $(LTC_LDFLAGS) -o $@
@echo NOTICE: start the tests by: test.exe @echo NOTICE: start the tests by launching test.exe
all: $(LIBMAIN_S) $(LIBMAIN_I) $(LIBMAIN_D) hashsum.exe ltcrypt.exe small.exe tv_gen.exe timing.exe test.exe all: $(LIBMAIN_S) $(LIBMAIN_I) $(LIBMAIN_D) hashsum.exe ltcrypt.exe small.exe tv_gen.exe timing.exe test.exe

View File

@ -237,6 +237,7 @@ timing.exe: demos/timing.c $(LIBMAIN_S)
#Tests #Tests
test.exe: $(LIBMAIN_S) $(TOBJECTS) test.exe: $(LIBMAIN_S) $(TOBJECTS)
cl $(LTC_CFLAGS) $(TOBJECTS) $(LIBMAIN_S) $(LTC_LDFLAGS) /Fe$@ cl $(LTC_CFLAGS) $(TOBJECTS) $(LIBMAIN_S) $(LTC_LDFLAGS) /Fe$@
@echo NOTICE: start the tests by launching test.exe
all: $(LIBMAIN_S) hashsum.exe ltcrypt.exe small.exe tv_gen.exe timing.exe test.exe all: $(LIBMAIN_S) hashsum.exe ltcrypt.exe small.exe tv_gen.exe timing.exe test.exe