premake / premake/premake-core

Broken gmake Makefile output

Open
#256 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug gmake
Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Description

I'm using a freshly build version of premake-git from the AUR on ArchLinux. It was build from commit 458911fe8dfffea79e0c0393557e88d72324f2a3

I'm using this premake file. It gives me this Makefile, which, when run, just emits make: Nothing to be done for 'all'.. Apparently it tries to compare variables with nothing ifneq (,$(vinyl_config)), so no wonder. using make -f vinyl.make just works fine. I think something about the emission of the main Makefile is wrong. premake5 emits no errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the linked premake5.lua input and inspect the generated Makefile, comparing it with the working vinyl.make output. Start with the default target and its variable conditionals; done means running make on the generated Makefile builds the project instead of reporting that there is nothing to be done.

Written by the indexing model from the issue text.

Assessment

Tech stack
arch-linux, lua
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.