Update Makefile

This commit is contained in:
amogus3016 2022-01-14 19:13:46 +00:00 committed by GitHub
parent c20755fea1
commit b6ddf4a41c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,15 @@
CC=gcc sherpa: sherpa.c
CFLAGS=-O2 -Wall vte3 $(CC) sherpa.c -o sherpa -O2 -Wall
CPPFLAGS=$$(pkg-config --cflags vte-2.9.1)
$(info Installing Sherpa...) printf("Building executable [|]")
printf("Building executable [/]")
all: sherpa printf("Building executable [-]")
sherpa: sherpa.o printf("Building executable [\]")
sherpa.o: sherpa.c printf("Building executable [|]")
mv ./sherpa /usr/bin
$(info Cleaning up...) printf("Installing [|]")
printf("Installing [/]")
clean: printf("Installing [-]")
rm -f sherpa sherpa.o printf("Installing [\]")
run: sherpa printf("Installing [|]")
./sherpa printf("Finished installing")
$(info Sherpa was installed sucessfully.)