Skip to content

Commit

Permalink
Merge branch 'ittner-user-default-compiler'
Browse files Browse the repository at this point in the history
  • Loading branch information
vurtun committed Apr 20, 2016
2 parents 092f463 + 72e9496 commit 4a68332
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 55 deletions.
13 changes: 0 additions & 13 deletions demo/allegro5/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Install
BIN = demo

# Compiler
CC = clang
DCC = gcc

# Flags
CFLAGS = -std=c89 -pedantic

Expand All @@ -23,15 +19,6 @@ else
endif
endif

# Modes
.PHONY: gcc
gcc: CC = gcc
gcc: $(BIN)

.PHONY: clang
clang: CC = clang
clang: $(BIN)

$(BIN):
@mkdir -p bin
rm -f bin/$(BIN) $(OBJS)
Expand Down
13 changes: 0 additions & 13 deletions demo/glfw/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Install
BIN = demo

# Compiler
CC = clang
DCC = gcc

# Flags
CFLAGS = -std=c99 -pedantic -O2

Expand All @@ -23,15 +19,6 @@ else
endif
endif

# Modes
.PHONY: clang
clang: CC = clang
clang: $(BIN)

.PHONY: gcc
gcc: CC = gcc
gcc: $(BIN)

$(BIN):
@mkdir -p bin
rm -f bin/$(BIN) $(OBJS)
Expand Down
13 changes: 0 additions & 13 deletions demo/sdl/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Install
BIN = demo

# Compiler
CC = clang
DCC = gcc

# Flags
CFLAGS = -std=c99 -pedantic -O2

Expand All @@ -23,15 +19,6 @@ else
endif
endif

# Modes
.PHONY: clang
clang: CC = clang
clang: $(BIN)

.PHONY: gcc
gcc: CC = gcc
gcc: $(BIN)

$(BIN):
@mkdir -p bin
rm -f bin/$(BIN) $(OBJS)
Expand Down
13 changes: 0 additions & 13 deletions demo/x11/Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
# Install
BIN = zahnrad

# Compiler
CC = clang
DCC = gcc

# Flags
CFLAGS = -std=c89 -pedantic -O2

SRC = main.c
OBJ = $(SRC:.c=.o)

# Modes
.PHONY: gcc
gcc: CC = gcc
gcc: $(BIN)

.PHONY: clang
clang: CC = clang
clang: $(BIN)

$(BIN):
@mkdir -p bin
rm -f bin/$(BIN) $(OBJS)
Expand Down
3 changes: 0 additions & 3 deletions example/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
# Compiler
CC = clang

# Flags
CFLAGS = -std=c99 -pedantic -O2

Expand Down

0 comments on commit 4a68332

Please sign in to comment.