Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.3 KiB

  1. # This makefile has been generated automatically by mwgenmakeC for
  2. # compiling MFC application.
  3. CUSTOM_RULES = /vobs/ie4/shell.template
  4. SOURCES = \
  5. app.cpp \
  6. debug.c
  7. # Warning: DLL based on MFC (compiled with _USRDLL flag) is not supported yet.
  8. # This makefile is just for demo purpose.
  9. ## Original Windows DLL name:
  10. PROG = cleaninf
  11. CPP_OBJS := ${SOURCES:%.C=%.o}
  12. CPP_OBJS := ${CPP_OBJS:%.cpp=%.o}
  13. CPP_OBJS := ${CPP_OBJS:%.cxx=%.o}
  14. OBJS = ${CPP_OBJS:%.c=%.o}
  15. SRCS=${SOURCES}
  16. WRESOURCE = app.rc # Windows resource
  17. TRESOURCE = ${PROG}.rxt # Target X resource (must match DLL name)
  18. ## COMPILE_OPTION can have the values: debug, optimized
  19. COMPILE_OPTION = debug
  20. ## you may define the following variables
  21. ## RUN.dir : the directory where you want the executables to go
  22. ## APP_CFLAGS : additional compilation flags for C compiler
  23. ## APP_CCPPFLAGS: additional compilation flags for C++ compiler
  24. ## APP_DLLFLAGS : additional link flags
  25. ## MWINIT_DEFINES : list of -D<symbols> used to initialize
  26. ## Mainwin in certain specific ways
  27. ## MWLOCALES: list of country codes corresponding to the
  28. ## resources you have prepared in the res subdirectory
  29. ##
  30. NO_UNICODE = 1
  31. MWINIT_DEFINES = -DMWINIT_LITE -DMWHAS_APP_MAIN
  32. OWN_MAINPROG = TRUE
  33. PRODUCT_LDFLAGS += -lstocklib -lcomctl32 -lmw32
  34. __cplusplus = true
  35. include $(MWHOME)/make.rules.simple