瀏覽代碼

Merge branch 'ittner-user-default-compiler'

vurtun 9 年之前
父節點
當前提交
4a68332330
共有 5 個文件被更改,包括 0 次插入55 次删除
  1. 0 13
      demo/allegro5/Makefile
  2. 0 13
      demo/glfw/Makefile
  3. 0 13
      demo/sdl/Makefile
  4. 0 13
      demo/x11/Makefile
  5. 0 3
      example/Makefile

+ 0 - 13
demo/allegro5/Makefile

@@ -1,10 +1,6 @@
 # Install
 # Install
 BIN = demo
 BIN = demo
 
 
-# Compiler
-CC = clang
-DCC = gcc
-
 # Flags
 # Flags
 CFLAGS = -std=c89 -pedantic
 CFLAGS = -std=c89 -pedantic
 
 
@@ -23,15 +19,6 @@ else
 	endif
 	endif
 endif
 endif
 
 
-# Modes
-.PHONY: gcc
-gcc: CC = gcc
-gcc: $(BIN)
-
-.PHONY: clang
-clang: CC = clang
-clang: $(BIN)
-
 $(BIN):
 $(BIN):
 	@mkdir -p bin
 	@mkdir -p bin
 	rm -f bin/$(BIN) $(OBJS)
 	rm -f bin/$(BIN) $(OBJS)

+ 0 - 13
demo/glfw/Makefile

@@ -1,10 +1,6 @@
 # Install
 # Install
 BIN = demo
 BIN = demo
 
 
-# Compiler
-CC = clang
-DCC = gcc
-
 # Flags
 # Flags
 CFLAGS = -std=c99 -pedantic -O2
 CFLAGS = -std=c99 -pedantic -O2
 
 
@@ -23,15 +19,6 @@ else
 	endif
 	endif
 endif
 endif
 
 
-# Modes
-.PHONY: clang
-clang: CC = clang
-clang: $(BIN)
-
-.PHONY: gcc
-gcc: CC = gcc
-gcc: $(BIN)
-
 $(BIN):
 $(BIN):
 	@mkdir -p bin
 	@mkdir -p bin
 	rm -f bin/$(BIN) $(OBJS)
 	rm -f bin/$(BIN) $(OBJS)

+ 0 - 13
demo/sdl/Makefile

@@ -1,10 +1,6 @@
 # Install
 # Install
 BIN = demo
 BIN = demo
 
 
-# Compiler
-CC = clang
-DCC = gcc
-
 # Flags
 # Flags
 CFLAGS = -std=c99 -pedantic -O2
 CFLAGS = -std=c99 -pedantic -O2
 
 
@@ -23,15 +19,6 @@ else
 	endif
 	endif
 endif
 endif
 
 
-# Modes
-.PHONY: clang
-clang: CC = clang
-clang: $(BIN)
-
-.PHONY: gcc
-gcc: CC = gcc
-gcc: $(BIN)
-
 $(BIN):
 $(BIN):
 	@mkdir -p bin
 	@mkdir -p bin
 	rm -f bin/$(BIN) $(OBJS)
 	rm -f bin/$(BIN) $(OBJS)

+ 0 - 13
demo/x11/Makefile

@@ -1,25 +1,12 @@
 # Install
 # Install
 BIN = zahnrad
 BIN = zahnrad
 
 
-# Compiler
-CC = clang
-DCC = gcc
-
 # Flags
 # Flags
 CFLAGS = -std=c89 -pedantic -O2
 CFLAGS = -std=c89 -pedantic -O2
 
 
 SRC = main.c
 SRC = main.c
 OBJ = $(SRC:.c=.o)
 OBJ = $(SRC:.c=.o)
 
 
-# Modes
-.PHONY: gcc
-gcc: CC = gcc
-gcc: $(BIN)
-
-.PHONY: clang
-clang: CC = clang
-clang: $(BIN)
-
 $(BIN):
 $(BIN):
 	@mkdir -p bin
 	@mkdir -p bin
 	rm -f bin/$(BIN) $(OBJS)
 	rm -f bin/$(BIN) $(OBJS)

+ 0 - 3
example/Makefile

@@ -1,6 +1,3 @@
-# Compiler
-CC = clang
-
 # Flags
 # Flags
 CFLAGS = -std=c99 -pedantic -O2
 CFLAGS = -std=c99 -pedantic -O2