diff --git a/demo/allegro5/Makefile b/demo/allegro5/Makefile index 2291c7e2..b7712582 100644 --- a/demo/allegro5/Makefile +++ b/demo/allegro5/Makefile @@ -1,10 +1,6 @@ # Install BIN = demo -# Compiler -CC = clang -DCC = gcc - # Flags CFLAGS = -std=c89 -pedantic @@ -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) diff --git a/demo/glfw/Makefile b/demo/glfw/Makefile index 6d01ab23..8b0615b9 100644 --- a/demo/glfw/Makefile +++ b/demo/glfw/Makefile @@ -1,10 +1,6 @@ # Install BIN = demo -# Compiler -CC = clang -DCC = gcc - # Flags CFLAGS = -std=c99 -pedantic -O2 @@ -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) diff --git a/demo/sdl/Makefile b/demo/sdl/Makefile index 4f0ec7fc..4b8ccf4e 100644 --- a/demo/sdl/Makefile +++ b/demo/sdl/Makefile @@ -1,10 +1,6 @@ # Install BIN = demo -# Compiler -CC = clang -DCC = gcc - # Flags CFLAGS = -std=c99 -pedantic -O2 @@ -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) diff --git a/demo/x11/Makefile b/demo/x11/Makefile index 19a2c272..0570089d 100644 --- a/demo/x11/Makefile +++ b/demo/x11/Makefile @@ -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) diff --git a/example/Makefile b/example/Makefile index fc327355..82d58490 100644 --- a/example/Makefile +++ b/example/Makefile @@ -1,6 +1,3 @@ -# Compiler -CC = clang - # Flags CFLAGS = -std=c99 -pedantic -O2