diff --git a/extern_func/Makefile b/extern_func/Makefile index 99385a7..cc2ece3 100644 --- a/extern_func/Makefile +++ b/extern_func/Makefile @@ -15,7 +15,7 @@ -include $(DEPS) %.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ $(LDFLAGS) + $(CC) $(CFLAGS) -c $< -o $@ # プリプロセスのみ実行して .i ファイルを出力 pre: diff --git a/extern_variable/Makefile b/extern_variable/Makefile index 99385a7..cc2ece3 100644 --- a/extern_variable/Makefile +++ b/extern_variable/Makefile @@ -15,7 +15,7 @@ -include $(DEPS) %.o: %.c - $(CC) $(CFLAGS) -c $< -o $@ $(LDFLAGS) + $(CC) $(CFLAGS) -c $< -o $@ # プリプロセスのみ実行して .i ファイルを出力 pre: