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
CFLAGS=-O2 -Wall vte3
$(info Installing Sherpa...)
all: sherpa
sherpa: sherpa.o
sherpa.o: sherpa.c
$(info Cleaning up...)
clean:
rm -f sherpa sherpa.o
run: sherpa
./sherpa
$(info Sherpa was installed sucessfully.)
sherpa: sherpa.c
$(CC) sherpa.c -o sherpa -O2 -Wall
CPPFLAGS=$$(pkg-config --cflags vte-2.9.1)
printf("Building executable [|]")
printf("Building executable [/]")
printf("Building executable [-]")
printf("Building executable [\]")
printf("Building executable [|]")
mv ./sherpa /usr/bin
printf("Installing [|]")
printf("Installing [/]")
printf("Installing [-]")
printf("Installing [\]")
printf("Installing [|]")
printf("Finished installing")