rmyorston / pdpmake

Public domain POSIX make
https://frippery.org/make
Other
103 stars 10 forks source link

pdpmake: (makefile:11): missing separator #39

Closed ghost closed 2 months ago

ghost commented 2 months ago

pdpmake -C make/windows

make/windows/Makefile:

# Alternative GNU Make workspace makefile autogenerated by Premake

ifndef config
  config=debug_x86_64
endif

ifndef verbose
  SILENT = @
endif

ifeq ($(config),debug_x86_64)
  SOIL2_static_config = debug_x86_64
  glew_static_config = debug_x86_64
  mbedtls_static_config = debug_x86_64
  vorbis_static_config = debug_x86_64
  pugixml_static_config = debug_x86_64
  zlib_static_config = debug_x86_64
  libzip_static_config = debug_x86_64
  libpng_static_config = debug_x86_64
  freetype_static_config = debug_x86_64
  chipmunk_static_config = debug_x86_64
  jpeg_compressor_static_config = debug_x86_64
  imageresampler_static_config = debug_x86_64
  mojoal_static_config = debug_x86_64
  efsw_static_config = debug_x86_64
  eepp_maps_static_config = debug_x86_64
  eepp_maps_config = debug_x86_64
  eepp_physics_static_config = debug_x86_64
  eepp_physics_config = debug_x86_64
  eterm_static_config = debug_x86_64
  eepp_static_config = debug_x86_64
  eepp_shared_config = debug_x86_64
  eepp_external_shader_config = debug_x86_64
  eepp_empty_window_config = debug_x86_64
  eepp_sound_config = debug_x86_64
  eepp_sprites_config = debug_x86_64
  eepp_fonts_config = debug_x86_64
  eepp_vbo_fbo_batch_config = debug_x86_64
  eepp_physics_demo_config = debug_x86_64
  eepp_http_request_config = debug_x86_64
  eepp_ui_hello_world_config = debug_x86_64
  eepp_7guis_counter_config = debug_x86_64
  eepp_7guis_temperature_converter_config = debug_x86_64
  eepp_7guis_flight_booker_config = debug_x86_64
  eepp_7guis_timer_config = debug_x86_64
  eepp_7guis_crud_config = debug_x86_64
  eepp_7guis_circle_drawer_config = debug_x86_64
  eepp_7guis_cells_config = debug_x86_64
  eepp_textureatlaseditor_config = debug_x86_64
  eepp_mapeditor_config = debug_x86_64
  eepp_uieditor_config = debug_x86_64
  ecode_macos_helper_static_config = debug_x86_64
  ecode_config = debug_x86_64
  eterm_config = debug_x86_64
  eepp_texturepacker_config = debug_x86_64
  eepp_test_config = debug_x86_64
  eepp_ui_perf_test_config = debug_x86_64
  eepp_unit_tests_config = debug_x86_64

else ifeq ($(config),debug_x86)
  SOIL2_static_config = debug_x86
  glew_static_config = debug_x86
  mbedtls_static_config = debug_x86
  vorbis_static_config = debug_x86
  pugixml_static_config = debug_x86
  zlib_static_config = debug_x86
  libzip_static_config = debug_x86
  libpng_static_config = debug_x86
  freetype_static_config = debug_x86
  chipmunk_static_config = debug_x86
  jpeg_compressor_static_config = debug_x86
  imageresampler_static_config = debug_x86
  mojoal_static_config = debug_x86
  efsw_static_config = debug_x86
  eepp_maps_static_config = debug_x86
  eepp_maps_config = debug_x86
  eepp_physics_static_config = debug_x86
  eepp_physics_config = debug_x86
  eterm_static_config = debug_x86
  eepp_static_config = debug_x86
  eepp_shared_config = debug_x86
  eepp_external_shader_config = debug_x86
  eepp_empty_window_config = debug_x86
  eepp_sound_config = debug_x86
  eepp_sprites_config = debug_x86
  eepp_fonts_config = debug_x86
  eepp_vbo_fbo_batch_config = debug_x86
  eepp_physics_demo_config = debug_x86
  eepp_http_request_config = debug_x86
  eepp_ui_hello_world_config = debug_x86
  eepp_7guis_counter_config = debug_x86
  eepp_7guis_temperature_converter_config = debug_x86
  eepp_7guis_flight_booker_config = debug_x86
  eepp_7guis_timer_config = debug_x86
  eepp_7guis_crud_config = debug_x86
  eepp_7guis_circle_drawer_config = debug_x86
  eepp_7guis_cells_config = debug_x86
  eepp_textureatlaseditor_config = debug_x86
  eepp_mapeditor_config = debug_x86
  eepp_uieditor_config = debug_x86
  ecode_macos_helper_static_config = debug_x86
  ecode_config = debug_x86
  eterm_config = debug_x86
  eepp_texturepacker_config = debug_x86
  eepp_test_config = debug_x86
  eepp_ui_perf_test_config = debug_x86
  eepp_unit_tests_config = debug_x86

else ifeq ($(config),debug_arm64)
  SOIL2_static_config = debug_arm64
  glew_static_config = debug_arm64
  mbedtls_static_config = debug_arm64
  vorbis_static_config = debug_arm64
  pugixml_static_config = debug_arm64
  zlib_static_config = debug_arm64
  libzip_static_config = debug_arm64
  libpng_static_config = debug_arm64
  freetype_static_config = debug_arm64
  chipmunk_static_config = debug_arm64
  jpeg_compressor_static_config = debug_arm64
  imageresampler_static_config = debug_arm64
  mojoal_static_config = debug_arm64
  efsw_static_config = debug_arm64
  eepp_maps_static_config = debug_arm64
  eepp_maps_config = debug_arm64
  eepp_physics_static_config = debug_arm64
  eepp_physics_config = debug_arm64
  eterm_static_config = debug_arm64
  eepp_static_config = debug_arm64
  eepp_shared_config = debug_arm64
  eepp_external_shader_config = debug_arm64
  eepp_empty_window_config = debug_arm64
  eepp_sound_config = debug_arm64
  eepp_sprites_config = debug_arm64
  eepp_fonts_config = debug_arm64
  eepp_vbo_fbo_batch_config = debug_arm64
  eepp_physics_demo_config = debug_arm64
  eepp_http_request_config = debug_arm64
  eepp_ui_hello_world_config = debug_arm64
  eepp_7guis_counter_config = debug_arm64
  eepp_7guis_temperature_converter_config = debug_arm64
  eepp_7guis_flight_booker_config = debug_arm64
  eepp_7guis_timer_config = debug_arm64
  eepp_7guis_crud_config = debug_arm64
  eepp_7guis_circle_drawer_config = debug_arm64
  eepp_7guis_cells_config = debug_arm64
  eepp_textureatlaseditor_config = debug_arm64
  eepp_mapeditor_config = debug_arm64
  eepp_uieditor_config = debug_arm64
  ecode_macos_helper_static_config = debug_arm64
  ecode_config = debug_arm64
  eterm_config = debug_arm64
  eepp_texturepacker_config = debug_arm64
  eepp_test_config = debug_arm64
  eepp_ui_perf_test_config = debug_arm64
  eepp_unit_tests_config = debug_arm64

else ifeq ($(config),release_x86_64)
  SOIL2_static_config = release_x86_64
  glew_static_config = release_x86_64
  mbedtls_static_config = release_x86_64
  vorbis_static_config = release_x86_64
  pugixml_static_config = release_x86_64
  zlib_static_config = release_x86_64
  libzip_static_config = release_x86_64
  libpng_static_config = release_x86_64
  freetype_static_config = release_x86_64
  chipmunk_static_config = release_x86_64
  jpeg_compressor_static_config = release_x86_64
  imageresampler_static_config = release_x86_64
  mojoal_static_config = release_x86_64
  efsw_static_config = release_x86_64
  eepp_maps_static_config = release_x86_64
  eepp_maps_config = release_x86_64
  eepp_physics_static_config = release_x86_64
  eepp_physics_config = release_x86_64
  eterm_static_config = release_x86_64
  eepp_static_config = release_x86_64
  eepp_shared_config = release_x86_64
  eepp_external_shader_config = release_x86_64
  eepp_empty_window_config = release_x86_64
  eepp_sound_config = release_x86_64
  eepp_sprites_config = release_x86_64
  eepp_fonts_config = release_x86_64
  eepp_vbo_fbo_batch_config = release_x86_64
  eepp_physics_demo_config = release_x86_64
  eepp_http_request_config = release_x86_64
  eepp_ui_hello_world_config = release_x86_64
  eepp_7guis_counter_config = release_x86_64
  eepp_7guis_temperature_converter_config = release_x86_64
  eepp_7guis_flight_booker_config = release_x86_64
  eepp_7guis_timer_config = release_x86_64
  eepp_7guis_crud_config = release_x86_64
  eepp_7guis_circle_drawer_config = release_x86_64
  eepp_7guis_cells_config = release_x86_64
  eepp_textureatlaseditor_config = release_x86_64
  eepp_mapeditor_config = release_x86_64
  eepp_uieditor_config = release_x86_64
  ecode_macos_helper_static_config = release_x86_64
  ecode_config = release_x86_64
  eterm_config = release_x86_64
  eepp_texturepacker_config = release_x86_64
  eepp_test_config = release_x86_64
  eepp_ui_perf_test_config = release_x86_64
  eepp_unit_tests_config = release_x86_64

else ifeq ($(config),release_x86)
  SOIL2_static_config = release_x86
  glew_static_config = release_x86
  mbedtls_static_config = release_x86
  vorbis_static_config = release_x86
  pugixml_static_config = release_x86
  zlib_static_config = release_x86
  libzip_static_config = release_x86
  libpng_static_config = release_x86
  freetype_static_config = release_x86
  chipmunk_static_config = release_x86
  jpeg_compressor_static_config = release_x86
  imageresampler_static_config = release_x86
  mojoal_static_config = release_x86
  efsw_static_config = release_x86
  eepp_maps_static_config = release_x86
  eepp_maps_config = release_x86
  eepp_physics_static_config = release_x86
  eepp_physics_config = release_x86
  eterm_static_config = release_x86
  eepp_static_config = release_x86
  eepp_shared_config = release_x86
  eepp_external_shader_config = release_x86
  eepp_empty_window_config = release_x86
  eepp_sound_config = release_x86
  eepp_sprites_config = release_x86
  eepp_fonts_config = release_x86
  eepp_vbo_fbo_batch_config = release_x86
  eepp_physics_demo_config = release_x86
  eepp_http_request_config = release_x86
  eepp_ui_hello_world_config = release_x86
  eepp_7guis_counter_config = release_x86
  eepp_7guis_temperature_converter_config = release_x86
  eepp_7guis_flight_booker_config = release_x86
  eepp_7guis_timer_config = release_x86
  eepp_7guis_crud_config = release_x86
  eepp_7guis_circle_drawer_config = release_x86
  eepp_7guis_cells_config = release_x86
  eepp_textureatlaseditor_config = release_x86
  eepp_mapeditor_config = release_x86
  eepp_uieditor_config = release_x86
  ecode_macos_helper_static_config = release_x86
  ecode_config = release_x86
  eterm_config = release_x86
  eepp_texturepacker_config = release_x86
  eepp_test_config = release_x86
  eepp_ui_perf_test_config = release_x86
  eepp_unit_tests_config = release_x86

else ifeq ($(config),release_arm64)
  SOIL2_static_config = release_arm64
  glew_static_config = release_arm64
  mbedtls_static_config = release_arm64
  vorbis_static_config = release_arm64
  pugixml_static_config = release_arm64
  zlib_static_config = release_arm64
  libzip_static_config = release_arm64
  libpng_static_config = release_arm64
  freetype_static_config = release_arm64
  chipmunk_static_config = release_arm64
  jpeg_compressor_static_config = release_arm64
  imageresampler_static_config = release_arm64
  mojoal_static_config = release_arm64
  efsw_static_config = release_arm64
  eepp_maps_static_config = release_arm64
  eepp_maps_config = release_arm64
  eepp_physics_static_config = release_arm64
  eepp_physics_config = release_arm64
  eterm_static_config = release_arm64
  eepp_static_config = release_arm64
  eepp_shared_config = release_arm64
  eepp_external_shader_config = release_arm64
  eepp_empty_window_config = release_arm64
  eepp_sound_config = release_arm64
  eepp_sprites_config = release_arm64
  eepp_fonts_config = release_arm64
  eepp_vbo_fbo_batch_config = release_arm64
  eepp_physics_demo_config = release_arm64
  eepp_http_request_config = release_arm64
  eepp_ui_hello_world_config = release_arm64
  eepp_7guis_counter_config = release_arm64
  eepp_7guis_temperature_converter_config = release_arm64
  eepp_7guis_flight_booker_config = release_arm64
  eepp_7guis_timer_config = release_arm64
  eepp_7guis_crud_config = release_arm64
  eepp_7guis_circle_drawer_config = release_arm64
  eepp_7guis_cells_config = release_arm64
  eepp_textureatlaseditor_config = release_arm64
  eepp_mapeditor_config = release_arm64
  eepp_uieditor_config = release_arm64
  ecode_macos_helper_static_config = release_arm64
  ecode_config = release_arm64
  eterm_config = release_arm64
  eepp_texturepacker_config = release_arm64
  eepp_test_config = release_arm64
  eepp_ui_perf_test_config = release_arm64
  eepp_unit_tests_config = release_arm64

else
  $(error "invalid configuration $(config)")
endif

PROJECTS := SOIL2-static glew-static mbedtls-static vorbis-static pugixml-static zlib-static libzip-static libpng-static freetype-static chipmunk-static jpeg-compressor-static imageresampler-static mojoal-static efsw-static eepp-maps-static eepp-maps eepp-physics-static eepp-physics eterm-static eepp-static eepp-shared eepp-external-shader eepp-empty-window eepp-sound eepp-sprites eepp-fonts eepp-vbo-fbo-batch eepp-physics-demo eepp-http-request eepp-ui-hello-world eepp-7guis-counter eepp-7guis-temperature-converter eepp-7guis-flight-booker eepp-7guis-timer eepp-7guis-crud eepp-7guis-circle-drawer eepp-7guis-cells eepp-textureatlaseditor eepp-mapeditor eepp-uieditor ecode-macos-helper-static ecode eterm eepp-texturepacker eepp-test eepp-ui-perf-test eepp-unit_tests

.PHONY: all clean help $(PROJECTS) 

all: $(PROJECTS)

SOIL2-static:
ifneq (,$(SOIL2_static_config))
    @echo "==== Building SOIL2-static ($(SOIL2_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f SOIL2-static.make config=$(SOIL2_static_config)
endif

glew-static:
ifneq (,$(glew_static_config))
    @echo "==== Building glew-static ($(glew_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f glew-static.make config=$(glew_static_config)
endif

mbedtls-static:
ifneq (,$(mbedtls_static_config))
    @echo "==== Building mbedtls-static ($(mbedtls_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f mbedtls-static.make config=$(mbedtls_static_config)
endif

vorbis-static:
ifneq (,$(vorbis_static_config))
    @echo "==== Building vorbis-static ($(vorbis_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f vorbis-static.make config=$(vorbis_static_config)
endif

pugixml-static:
ifneq (,$(pugixml_static_config))
    @echo "==== Building pugixml-static ($(pugixml_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f pugixml-static.make config=$(pugixml_static_config)
endif

zlib-static:
ifneq (,$(zlib_static_config))
    @echo "==== Building zlib-static ($(zlib_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f zlib-static.make config=$(zlib_static_config)
endif

libzip-static:
ifneq (,$(libzip_static_config))
    @echo "==== Building libzip-static ($(libzip_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f libzip-static.make config=$(libzip_static_config)
endif

libpng-static:
ifneq (,$(libpng_static_config))
    @echo "==== Building libpng-static ($(libpng_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f libpng-static.make config=$(libpng_static_config)
endif

freetype-static:
ifneq (,$(freetype_static_config))
    @echo "==== Building freetype-static ($(freetype_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f freetype-static.make config=$(freetype_static_config)
endif

chipmunk-static:
ifneq (,$(chipmunk_static_config))
    @echo "==== Building chipmunk-static ($(chipmunk_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f chipmunk-static.make config=$(chipmunk_static_config)
endif

jpeg-compressor-static:
ifneq (,$(jpeg_compressor_static_config))
    @echo "==== Building jpeg-compressor-static ($(jpeg_compressor_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f jpeg-compressor-static.make config=$(jpeg_compressor_static_config)
endif

imageresampler-static:
ifneq (,$(imageresampler_static_config))
    @echo "==== Building imageresampler-static ($(imageresampler_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f imageresampler-static.make config=$(imageresampler_static_config)
endif

mojoal-static:
ifneq (,$(mojoal_static_config))
    @echo "==== Building mojoal-static ($(mojoal_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f mojoal-static.make config=$(mojoal_static_config)
endif

efsw-static:
ifneq (,$(efsw_static_config))
    @echo "==== Building efsw-static ($(efsw_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f efsw-static.make config=$(efsw_static_config)
endif

eepp-maps-static:
ifneq (,$(eepp_maps_static_config))
    @echo "==== Building eepp-maps-static ($(eepp_maps_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-maps-static.make config=$(eepp_maps_static_config)
endif

eepp-maps: eepp-shared
ifneq (,$(eepp_maps_config))
    @echo "==== Building eepp-maps ($(eepp_maps_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-maps.make config=$(eepp_maps_config)
endif

eepp-physics-static:
ifneq (,$(eepp_physics_static_config))
    @echo "==== Building eepp-physics-static ($(eepp_physics_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-physics-static.make config=$(eepp_physics_static_config)
endif

eepp-physics: chipmunk-static eepp-shared
ifneq (,$(eepp_physics_config))
    @echo "==== Building eepp-physics ($(eepp_physics_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-physics.make config=$(eepp_physics_config)
endif

eterm-static:
ifneq (,$(eterm_static_config))
    @echo "==== Building eterm-static ($(eterm_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f eterm-static.make config=$(eterm_static_config)
endif

eepp-static: freetype-static libpng-static SOIL2-static chipmunk-static libzip-static jpeg-compressor-static zlib-static imageresampler-static pugixml-static vorbis-static mojoal-static mbedtls-static glew-static
ifneq (,$(eepp_static_config))
    @echo "==== Building eepp-static ($(eepp_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-static.make config=$(eepp_static_config)
endif

eepp-shared: freetype-static libpng-static SOIL2-static chipmunk-static libzip-static jpeg-compressor-static zlib-static imageresampler-static pugixml-static vorbis-static mojoal-static mbedtls-static glew-static
ifneq (,$(eepp_shared_config))
    @echo "==== Building eepp-shared ($(eepp_shared_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-shared.make config=$(eepp_shared_config)
endif

eepp-external-shader: eepp-shared
ifneq (,$(eepp_external_shader_config))
    @echo "==== Building eepp-external-shader ($(eepp_external_shader_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-external-shader.make config=$(eepp_external_shader_config)
endif

eepp-empty-window: eepp-shared
ifneq (,$(eepp_empty_window_config))
    @echo "==== Building eepp-empty-window ($(eepp_empty_window_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-empty-window.make config=$(eepp_empty_window_config)
endif

eepp-sound: eepp-shared
ifneq (,$(eepp_sound_config))
    @echo "==== Building eepp-sound ($(eepp_sound_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-sound.make config=$(eepp_sound_config)
endif

eepp-sprites: eepp-shared
ifneq (,$(eepp_sprites_config))
    @echo "==== Building eepp-sprites ($(eepp_sprites_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-sprites.make config=$(eepp_sprites_config)
endif

eepp-fonts: eepp-shared
ifneq (,$(eepp_fonts_config))
    @echo "==== Building eepp-fonts ($(eepp_fonts_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-fonts.make config=$(eepp_fonts_config)
endif

eepp-vbo-fbo-batch: eepp-shared
ifneq (,$(eepp_vbo_fbo_batch_config))
    @echo "==== Building eepp-vbo-fbo-batch ($(eepp_vbo_fbo_batch_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-vbo-fbo-batch.make config=$(eepp_vbo_fbo_batch_config)
endif

eepp-physics-demo: eepp-physics-static chipmunk-static eepp-shared
ifneq (,$(eepp_physics_demo_config))
    @echo "==== Building eepp-physics-demo ($(eepp_physics_demo_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-physics-demo.make config=$(eepp_physics_demo_config)
endif

eepp-http-request: eepp-shared
ifneq (,$(eepp_http_request_config))
    @echo "==== Building eepp-http-request ($(eepp_http_request_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-http-request.make config=$(eepp_http_request_config)
endif

eepp-ui-hello-world: eepp-shared
ifneq (,$(eepp_ui_hello_world_config))
    @echo "==== Building eepp-ui-hello-world ($(eepp_ui_hello_world_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-ui-hello-world.make config=$(eepp_ui_hello_world_config)
endif

eepp-7guis-counter: eepp-shared
ifneq (,$(eepp_7guis_counter_config))
    @echo "==== Building eepp-7guis-counter ($(eepp_7guis_counter_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-counter.make config=$(eepp_7guis_counter_config)
endif

eepp-7guis-temperature-converter: eepp-shared
ifneq (,$(eepp_7guis_temperature_converter_config))
    @echo "==== Building eepp-7guis-temperature-converter ($(eepp_7guis_temperature_converter_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-temperature-converter.make config=$(eepp_7guis_temperature_converter_config)
endif

eepp-7guis-flight-booker: eepp-shared
ifneq (,$(eepp_7guis_flight_booker_config))
    @echo "==== Building eepp-7guis-flight-booker ($(eepp_7guis_flight_booker_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-flight-booker.make config=$(eepp_7guis_flight_booker_config)
endif

eepp-7guis-timer: eepp-shared
ifneq (,$(eepp_7guis_timer_config))
    @echo "==== Building eepp-7guis-timer ($(eepp_7guis_timer_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-timer.make config=$(eepp_7guis_timer_config)
endif

eepp-7guis-crud: eepp-shared
ifneq (,$(eepp_7guis_crud_config))
    @echo "==== Building eepp-7guis-crud ($(eepp_7guis_crud_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-crud.make config=$(eepp_7guis_crud_config)
endif

eepp-7guis-circle-drawer: eepp-shared
ifneq (,$(eepp_7guis_circle_drawer_config))
    @echo "==== Building eepp-7guis-circle-drawer ($(eepp_7guis_circle_drawer_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-circle-drawer.make config=$(eepp_7guis_circle_drawer_config)
endif

eepp-7guis-cells: eepp-shared
ifneq (,$(eepp_7guis_cells_config))
    @echo "==== Building eepp-7guis-cells ($(eepp_7guis_cells_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-7guis-cells.make config=$(eepp_7guis_cells_config)
endif

eepp-textureatlaseditor: eepp-shared
ifneq (,$(eepp_textureatlaseditor_config))
    @echo "==== Building eepp-textureatlaseditor ($(eepp_textureatlaseditor_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-textureatlaseditor.make config=$(eepp_textureatlaseditor_config)
endif

eepp-mapeditor: eepp-maps-static eepp-shared
ifneq (,$(eepp_mapeditor_config))
    @echo "==== Building eepp-mapeditor ($(eepp_mapeditor_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-mapeditor.make config=$(eepp_mapeditor_config)
endif

eepp-uieditor: efsw-static pugixml-static eepp-shared
ifneq (,$(eepp_uieditor_config))
    @echo "==== Building eepp-uieditor ($(eepp_uieditor_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-uieditor.make config=$(eepp_uieditor_config)
endif

ecode-macos-helper-static:
ifneq (,$(ecode_macos_helper_static_config))
    @echo "==== Building ecode-macos-helper-static ($(ecode_macos_helper_static_config)) ===="
    @${MAKE} --no-print-directory -C . -f ecode-macos-helper-static.make config=$(ecode_macos_helper_static_config)
endif

ecode: efsw-static eterm-static eepp-shared
ifneq (,$(ecode_config))
    @echo "==== Building ecode ($(ecode_config)) ===="
    @${MAKE} --no-print-directory -C . -f ecode.make config=$(ecode_config)
endif

eterm: eterm-static eepp-shared
ifneq (,$(eterm_config))
    @echo "==== Building eterm ($(eterm_config)) ===="
    @${MAKE} --no-print-directory -C . -f eterm.make config=$(eterm_config)
endif

eepp-texturepacker: eepp-shared
ifneq (,$(eepp_texturepacker_config))
    @echo "==== Building eepp-texturepacker ($(eepp_texturepacker_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-texturepacker.make config=$(eepp_texturepacker_config)
endif

eepp-test: eepp-maps-static eepp-physics-static chipmunk-static eepp-shared
ifneq (,$(eepp_test_config))
    @echo "==== Building eepp-test ($(eepp_test_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-test.make config=$(eepp_test_config)
endif

eepp-ui-perf-test: eepp-shared
ifneq (,$(eepp_ui_perf_test_config))
    @echo "==== Building eepp-ui-perf-test ($(eepp_ui_perf_test_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-ui-perf-test.make config=$(eepp_ui_perf_test_config)
endif

eepp-unit_tests: eepp-shared
ifneq (,$(eepp_unit_tests_config))
    @echo "==== Building eepp-unit_tests ($(eepp_unit_tests_config)) ===="
    @${MAKE} --no-print-directory -C . -f eepp-unit_tests.make config=$(eepp_unit_tests_config)
endif

clean:
    @${MAKE} --no-print-directory -C . -f SOIL2-static.make clean
    @${MAKE} --no-print-directory -C . -f glew-static.make clean
    @${MAKE} --no-print-directory -C . -f mbedtls-static.make clean
    @${MAKE} --no-print-directory -C . -f vorbis-static.make clean
    @${MAKE} --no-print-directory -C . -f pugixml-static.make clean
    @${MAKE} --no-print-directory -C . -f zlib-static.make clean
    @${MAKE} --no-print-directory -C . -f libzip-static.make clean
    @${MAKE} --no-print-directory -C . -f libpng-static.make clean
    @${MAKE} --no-print-directory -C . -f freetype-static.make clean
    @${MAKE} --no-print-directory -C . -f chipmunk-static.make clean
    @${MAKE} --no-print-directory -C . -f jpeg-compressor-static.make clean
    @${MAKE} --no-print-directory -C . -f imageresampler-static.make clean
    @${MAKE} --no-print-directory -C . -f mojoal-static.make clean
    @${MAKE} --no-print-directory -C . -f efsw-static.make clean
    @${MAKE} --no-print-directory -C . -f eepp-maps-static.make clean
    @${MAKE} --no-print-directory -C . -f eepp-maps.make clean
    @${MAKE} --no-print-directory -C . -f eepp-physics-static.make clean
    @${MAKE} --no-print-directory -C . -f eepp-physics.make clean
    @${MAKE} --no-print-directory -C . -f eterm-static.make clean
    @${MAKE} --no-print-directory -C . -f eepp-static.make clean
    @${MAKE} --no-print-directory -C . -f eepp-shared.make clean
    @${MAKE} --no-print-directory -C . -f eepp-external-shader.make clean
    @${MAKE} --no-print-directory -C . -f eepp-empty-window.make clean
    @${MAKE} --no-print-directory -C . -f eepp-sound.make clean
    @${MAKE} --no-print-directory -C . -f eepp-sprites.make clean
    @${MAKE} --no-print-directory -C . -f eepp-fonts.make clean
    @${MAKE} --no-print-directory -C . -f eepp-vbo-fbo-batch.make clean
    @${MAKE} --no-print-directory -C . -f eepp-physics-demo.make clean
    @${MAKE} --no-print-directory -C . -f eepp-http-request.make clean
    @${MAKE} --no-print-directory -C . -f eepp-ui-hello-world.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-counter.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-temperature-converter.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-flight-booker.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-timer.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-crud.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-circle-drawer.make clean
    @${MAKE} --no-print-directory -C . -f eepp-7guis-cells.make clean
    @${MAKE} --no-print-directory -C . -f eepp-textureatlaseditor.make clean
    @${MAKE} --no-print-directory -C . -f eepp-mapeditor.make clean
    @${MAKE} --no-print-directory -C . -f eepp-uieditor.make clean
    @${MAKE} --no-print-directory -C . -f ecode-macos-helper-static.make clean
    @${MAKE} --no-print-directory -C . -f ecode.make clean
    @${MAKE} --no-print-directory -C . -f eterm.make clean
    @${MAKE} --no-print-directory -C . -f eepp-texturepacker.make clean
    @${MAKE} --no-print-directory -C . -f eepp-test.make clean
    @${MAKE} --no-print-directory -C . -f eepp-ui-perf-test.make clean
    @${MAKE} --no-print-directory -C . -f eepp-unit_tests.make clean

help:
    @echo "Usage: make [config=name] [target]"
    @echo ""
    @echo "CONFIGURATIONS:"
    @echo "  debug_x86_64"
    @echo "  debug_x86"
    @echo "  debug_arm64"
    @echo "  release_x86_64"
    @echo "  release_x86"
    @echo "  release_arm64"
    @echo ""
    @echo "TARGETS:"
    @echo "   all (default)"
    @echo "   clean"
    @echo "   SOIL2-static"
    @echo "   glew-static"
    @echo "   mbedtls-static"
    @echo "   vorbis-static"
    @echo "   pugixml-static"
    @echo "   zlib-static"
    @echo "   libzip-static"
    @echo "   libpng-static"
    @echo "   freetype-static"
    @echo "   chipmunk-static"
    @echo "   jpeg-compressor-static"
    @echo "   imageresampler-static"
    @echo "   mojoal-static"
    @echo "   efsw-static"
    @echo "   eepp-maps-static"
    @echo "   eepp-maps"
    @echo "   eepp-physics-static"
    @echo "   eepp-physics"
    @echo "   eterm-static"
    @echo "   eepp-static"
    @echo "   eepp-shared"
    @echo "   eepp-external-shader"
    @echo "   eepp-empty-window"
    @echo "   eepp-sound"
    @echo "   eepp-sprites"
    @echo "   eepp-fonts"
    @echo "   eepp-vbo-fbo-batch"
    @echo "   eepp-physics-demo"
    @echo "   eepp-http-request"
    @echo "   eepp-ui-hello-world"
    @echo "   eepp-7guis-counter"
    @echo "   eepp-7guis-temperature-converter"
    @echo "   eepp-7guis-flight-booker"
    @echo "   eepp-7guis-timer"
    @echo "   eepp-7guis-crud"
    @echo "   eepp-7guis-circle-drawer"
    @echo "   eepp-7guis-cells"
    @echo "   eepp-textureatlaseditor"
    @echo "   eepp-mapeditor"
    @echo "   eepp-uieditor"
    @echo "   ecode-macos-helper-static"
    @echo "   ecode"
    @echo "   eterm"
    @echo "   eepp-texturepacker"
    @echo "   eepp-test"
    @echo "   eepp-ui-perf-test"
    @echo "   eepp-unit_tests"
    @echo ""
    @echo "For more information, see https://github.com/premake/premake-core/wiki"
rmyorston commented 2 months ago

Line 11 has ifeq, which isn't implemented in pdpmake.

The primary aim of pdpmake is to be a strict POSIX make. It has some non-POSIX extensions, but it's never going to be a drop-in replacement for GNU make. (GNU make is the only drop-in replacement for GNU make).

That said, pdpmake already has ifdef/ifndef so ifeq/ifneq isn't too big a stretch, but it certainly isn't a priority.

I'm happy to leave this issue open as a reminder.

rmyorston commented 1 month ago

Support for ifeq/ifneq has been added as a non-POSIX extension.