Skip to content

Instantly share code, notes, and snippets.

View TheZoc's full-sized avatar

Felipe Guedes TheZoc

  • London, United Kingdom
  • X @zoc
View GitHub Profile

Is there an ultimate Makefile?: Part 1 - Applications

Have you ever struggled with writing your Makefile manually or dealing with your projects without depending on a specific IDE? If so, this article is for you to break your chains.

Picture this: a Makefile that adapts to your project like a chameleon, requiring only a few parameter tweaks to fit most of your needs. Gone are the days of wrestling with convoluted build scripts or spending hours integrating external libraries. With this Makefile in your arsenal, you'll conquer the build process with ease and finesse.

Who is this article for?

  • If you have a GNU Linux development environment.
  • If you are using GNU compilers such as g++.
  • If you don't depend on any IDE for project configurations.
@KroniK907
KroniK907 / PlayerMoveComponent.cpp
Created February 24, 2018 01:19
Quake 3 Movement in UE4
/* Copyright (C) Terence-Lee 'Zinglish' Davis
* Written by Terence-Lee 'Zinglish' Davis <zinglish[at]gmail.com>
*/
#include "PlayerMoveComponent.h"
#include ".h"
#include "Player.h"
#include "PlayerCollisionComponent.h"
#include "Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h"
@TheZoc
TheZoc / LUIAura-Stalker-Auras.json
Created July 26, 2017 08:01
Wildstar - Stalker Auras for LUI Aura
{"setting":{"duration":{"color":{"a":255,"r":255,"g":255,"b":255}},"border":{"sprite":"sprPP_ListGlowBase","color":{"a":255,"r":255,"g":255,"b":255},"enable":true},"auras":[{"behavior":"All","text":{"font":"CRB_Interface14_B","source":"1-Class Resource","position":"TC","align":"Center","anchor":"IB","input":"{v}"},"name":"Suit Power","triggers":[{"triggerType":"Attribute","border":{"color":{"a":255,"b":255,"g":255,"r":255}},"attributes":{"Class Resource":{"value":0,"enable":true,"percent":true,"operator":">="}},"unit":"Player","name":"Suit Power"}],"icon":{"enable":false},"bar":{"color_bg":{"a":0,"r":0,"g":0,"b":0},"color_fill":{"a":125,"r":207,"g":62,"b":244},"posY":36,"sprite_border":"border_medium","enable":true,"color_border":{"a":50,"r":0,"g":0,"b":0},"border_size":5,"posX":-200,"color_empty":{"a":50,"r":196,"g":62,"b":244},"invert":true,"source":"1-Class Resource"}},{"overlay":{"color":{"a":191.25,"r":255},"shape":"Solid","source":"1"},"duration":{"source":"2-1"},"stacks":{"posY":0,"posX":0},"interval":
@spiralx
spiralx / dopus-utils.jscript
Created May 19, 2014 16:16
Collection and debug functions for Directory Opus 11 scripts
@script:jscript
/**
* Return an array of the results of running func on each item in coll e.g.
* map(DOpus.vars, function(v, i) {
* return v + '=' + v.value;
* }
*/
function map(coll, func) {
var res = [];
@dahlbyk
dahlbyk / .gitconfig
Created March 1, 2012 14:29
Windows Git Diff/Merge Tool Configuration
[alias]
dt = difftool
mt = mergetool
[diff]
tool = bc3
[difftool]
prompt = false
[difftool "bc3"]
cmd = \"c:/program files (x86)/beyond compare 3/bcomp.exe\" \"$LOCAL\" \"$REMOTE\"
[difftool "p4"]