|
|
@ -42,4 +42,10 @@ clean: |
|
|
|
.PHONY: run |
|
|
|
.PHONY: run |
|
|
|
.SILENT: run |
|
|
|
.SILENT: run |
|
|
|
run: all |
|
|
|
run: all |
|
|
|
XDG_DATA_DIRS=./$(BUILD_DIR) ./$(BUILD_DIR)/ginput
|
|
|
|
XDG_DATA_DIRS=./$(BUILD_DIR) ./$(BUILD_DIR)/$(NAME)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BUILD_DIR)/$(NAME).dbg: $(BUILD_DIR)/resource.c $(C_FILES) | $(BUILD_DIR) |
|
|
|
|
|
|
|
$(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
debug: $(BUILD_DIR)/$(NAME).dbg $(BUILD_DIR)/drivers resources |
|
|
|
|
|
|
|
XDG_DATA_DIRS=./$(BUILD_DIR) gdb --args ./$(BUILD_DIR)/$(NAME).dbg
|
|
|
|