(re-)add a makefile

main
Jeff Moe 2024-05-07 11:03:52 -06:00
parent f7aaacbdd2
commit 24992579d0
1 changed files with 37 additions and 0 deletions

37
src/Makefile 100644
View File

@ -0,0 +1,37 @@
# Makefile
#
# Copyright (C) 2023, 2024 Jeff Moe
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
all:
$(MAKE) build
build:
./install-dependencies.sh
clean:
rm -rf binary/bin
rm -rf binary/node_modules
rm -rf binary/out
rm -rf core/node_modules
rm -rf extensions/intellij/src/main/resources/webview/assets
rm -rf extensions/intellij/src/main/resources/webview/jetbrains_editorInset_index.html
rm -rf extensions/intellij/src/main/resources/webview/jetbrains_index.html
rm -rf extensions/intellij/src/main/resources/webview/onigasm.wasm
rm -rf core/node_modules
rm -rf extensions/intellij/src/main/resources/webview/assets
rm -rf extensions/intellij/src/main/resources/webview/jetbrains_editorInset_index.html
rm -rf extensions/intellij/src/main/resources/webview/jetbrains_index.html
rm -rf extensions/intellij/src/main/resources/webview/onigasm.wasm