From 013366f9eea59bb1b2ee1985580f37a32c20ee76 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Sat, 28 May 2022 00:27:42 +0200 Subject: makefile & komentarisanje koda (treci deo) --- include/00.build/C_Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 include/00.build/C_Makefile (limited to 'include/00.build/C_Makefile') diff --git a/include/00.build/C_Makefile b/include/00.build/C_Makefile new file mode 100644 index 0000000..b8fe609 --- /dev/null +++ b/include/00.build/C_Makefile @@ -0,0 +1,8 @@ +.PHONY: all + +all: $(C_OBJECTS) + +$(C_OBJECT_DIR)/%.o: %.c Makefile + $(CC) $(CFLAGS) -MD -MP -c $< -o $@ + +-include $(C_OBJECTS:.o=.d) -- cgit v1.2.3