Skip to content
Snippets Groups Projects
Verified Commit 842f1e2b authored by abrahas55's avatar abrahas55
Browse files

comments for Makefile, made object files optional

parent cf566884
Branches
No related tags found
No related merge requests found
CC = gcc
CFLAGS = -std=c11 -Wall -Wextra -pedantic -O2 -g -pthread
#CPPFLAGS = -MMD -MF $*.d #activate only if you want extra output as .d files
# TODO: edit BIN with your target binary (e.g. exercise01)
BIN = example
OBJS = $(BIN).o
all: $(BIN)
example: $(OBJS)
%.o:%.d
# uncomment this if you want object files
#$(BIN): $(OBJS)
run: $(BIN)
./$(BIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment