Makefile.nmake 623 B

1234567891011121314151617181920
  1. all: test.exe
  2. CFLAGS = /I ..\win32 /I ..\..\..\build-alpha\include /I ..\common /I ..\or
  3. LIBS = ..\..\..\build-alpha\lib\libevent.lib \
  4. ..\..\..\build-alpha\lib\libcrypto.lib \
  5. ..\..\..\build-alpha\lib\libssl.lib \
  6. ..\..\..\build-alpha\lib\libz.lib \
  7. ..\or\libtor.lib \
  8. ws2_32.lib advapi32.lib shell32.lib
  9. TEST_OBJECTS = test.obj test_addr.obj test_containers.obj \
  10. test_crypto.obj test_data.obj test_dir.obj test_microdesc.obj \
  11. test_pt.obj test_util.obj test_config.obj tinytest.obj
  12. test.exe: $(TEST_OBJECTS)
  13. $(CC) $(CFLAGS) $(LIBS) ..\common\*.lib $(TEST_OBJECTS)
  14. clean:
  15. del $(TEST_OBJECTS) *.lib test.exe