Skip to content

Instantly share code, notes, and snippets.

@pbackus
Created April 23, 2021 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbackus/8f9fe3a26eac463af553e22a50476cf0 to your computer and use it in GitHub Desktop.
Save pbackus/8f9fe3a26eac463af553e22a50476cf0 to your computer and use it in GitHub Desktop.
Basic D suport for GNU Make
DC = gdc
COMPILE.d = $(DC) $(DFLAGS) $(TARGET_ARCH) -c
LINK.d = $(DC) $(DFLAGS) $(TARGET_ARCH)
.d:
$(LINK.d) $^ $(LOADLIBES) $(LDLIBS) -o $@
.d.o:
$(COMPILE.d) $(OUTPUT_OPTION) $<
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment