diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6eb170a --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +SRC_DIR := src +BUILD_DIR := build +TARGET ?= ducc + +.PHONY: all +all: $(BUILD_DIR) $(BUILD_DIR)/$(TARGET) + +$(BUILD_DIR)/$(TARGET): main.c + $(CC) -MD -g -O0 -o $@ $< + +$(BUILD_DIR): + @mkdir -p $(BUILD_DIR) + +-include $(BUILD_DIR)/*.d |
