How do you guys compile your larger c/c++ projects?

How do you guys compile your larger c/c++ projects?
Writing a gnu make file by hand is ass. I can't properly figure out how it works and using cmake to make a gnu make file is also pretty ridiculous.

Attached: 51hXnxSmlXL._SX377_BO1,204,203,200_.jpg (379x499, 27K)

Here you go:
# Generic GNUMakefile

# Just a snippet to stop executing under other make(1) commands
# that won't understand these lines
ifneq (,)
This makefile requires GNU Make.
endif

PROGRAM = foo
C_FILES := $(wildcard *.c)
OBJS := $(patsubst %.c, %.o, $(C_FILES))
CC = cc
CFLAGS = -Wall -pedantic
LDFLAGS =

all: $(PROGRAM)

$(PROGRAM): .depend $(OBJS)
$(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o $(PROGRAM)

depend: .depend

.depend: cmd = gcc -MM -MF depend $(var); cat depend >> .depend;
.depend:
@echo "Generating dependencies..."
@$(foreach var, $(C_FILES), $(cmd))
@rm -f depend

-include .depend

# These are the pattern matching rules. In addition to the automatic
# variables used here, the variable $* that matches whatever % stands for
# can be useful in special cases.
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@

%: %.c
$(CC) $(CFLAGS) -o $@ $<

clean:
rm -f .depend *.o

.PHONY: clean depend

use memeson

C++ has no proper package manager either

Fucking thing sucks

build.bat

javac

Attached: 1526199304008.jpg (1078x1332, 516K)

cmake is ok

visual studio

I wanna rock

This.