diff options
author | Bad Diode <bd@badd10de.dev> | 2021-05-23 14:18:22 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2021-05-23 14:18:22 +0200 |
commit | e73d10d09e10f2002122ea8d2cd878951b7eda0e (patch) | |
tree | 3b450257adda246cbcd38641b10f770d45d7151b /Makefile | |
parent | d1cef11270cdad06ac82996ad8396715b84e33b7 (diff) | |
download | uxngba-e73d10d09e10f2002122ea8d2cd878951b7eda0e.tar.gz uxngba-e73d10d09e10f2002122ea8d2cd878951b7eda0e.zip |
Move roms to separate directory
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -16,7 +16,7 @@ SRC_DIR := src | |||
16 | BUILD_DIR := build | 16 | BUILD_DIR := build |
17 | SRC_MAIN := $(SRC_DIR)/main.c | 17 | SRC_MAIN := $(SRC_DIR)/main.c |
18 | ROM := $(BUILD_DIR)/rom.c | 18 | ROM := $(BUILD_DIR)/rom.c |
19 | ROM_SRC := $(SRC_DIR)/uxn/roms/dvd.rom | 19 | ROM_SRC := roms/dvd.rom |
20 | ASM_FILES := $(wildcard $(SRC_DIR)/*.s) | 20 | ASM_FILES := $(wildcard $(SRC_DIR)/*.s) |
21 | WATCH_SRC := $(shell find $(SRC_DIRS) -name *.c -or -name *.s -or -name *.h) | 21 | WATCH_SRC := $(shell find $(SRC_DIRS) -name *.c -or -name *.s -or -name *.h) |
22 | INC_DIRS := $(shell find $(SRC_DIR) -type d) | 22 | INC_DIRS := $(shell find $(SRC_DIR) -type d) |
@@ -79,8 +79,7 @@ run: main | |||
79 | 79 | ||
80 | # Remove build directory. | 80 | # Remove build directory. |
81 | clean: | 81 | clean: |
82 | rm $(ROM) | 82 | rm -rf $(BUILD_DIR) |
83 | rm -r $(BUILD_DIR) | ||
84 | 83 | ||
85 | tools: | 84 | tools: |
86 | make -C tools/bin2carr | 85 | make -C tools/bin2carr |