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 2016-PippingKornhuberRosenauOncken
No related tags found
2 merge requests!4Übung2,!3Übung1
CC = gcc CC = gcc
CFLAGS = -std=c11 -Wall -Wextra -pedantic -O2 -g -pthread CFLAGS = -std=c11 -Wall -Wextra -pedantic -O2 -g -pthread
#CPPFLAGS = -MMD -MF $*.d #activate only if you want extra output as .d files #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 BIN = example
OBJS = $(BIN).o OBJS = $(BIN).o
all: $(BIN) all: $(BIN)
example: $(OBJS) # uncomment this if you want object files
#$(BIN): $(OBJS)
%.o:%.d
run: $(BIN) run: $(BIN)
./$(BIN) ./$(BIN)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment