diff options
| author | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-28 00:27:42 +0200 |
|---|---|---|
| committer | Aleksa Vučković <aleksav013@gmail.com> | 2022-05-28 00:27:42 +0200 |
| commit | 013366f9eea59bb1b2ee1985580f37a32c20ee76 (patch) | |
| tree | 0a29d219f8db022cc4bdb5361d5bd8efc99bc41c /include/00.build | |
| parent | bb6b3ae8a78a59a30e8e97d02203be636d21b6fb (diff) | |
makefile & komentarisanje koda (treci deo)
Diffstat (limited to 'include/00.build')
| -rw-r--r-- | include/00.build/AS_Makefile | 6 | ||||
| -rw-r--r-- | include/00.build/C_Makefile | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/00.build/AS_Makefile b/include/00.build/AS_Makefile new file mode 100644 index 0000000..c8919d7 --- /dev/null +++ b/include/00.build/AS_Makefile @@ -0,0 +1,6 @@ +.PHONY: all + +all: $(AS_OBJECTS) + +$(AS_OBJECT_DIR)/%.o: %.s Makefile + $(AS) $< -o $@ 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) |
