cppbasedann/Makefile

21 lines
231 B
Makefile
Raw Permalink Normal View History

2022-01-01 17:28:20 +01:00
default : myprogram
all : myprogram
clean :
rm -f *.o myprogram
2022-01-18 13:03:53 +01:00
myprogram : annclasses.o main.o
2022-01-01 17:28:20 +01:00
g++ -Wall $^ -o myprogram
%.o : %.c
gcc -Wall $< -c
send :
git pull
git add .
git commit
git push
rebuild : clean default