20 lines
218 B
Makefile
20 lines
218 B
Makefile
default : myprogram
|
|
|
|
all : myprogram
|
|
|
|
clean :
|
|
rm -f *.o myprogram
|
|
|
|
myprogram : main.o
|
|
g++ -Wall $^ -o myprogram
|
|
|
|
%.o : %.c
|
|
gcc -Wall $< -c
|
|
|
|
send :
|
|
git pull
|
|
git add .
|
|
git commit
|
|
git push
|
|
|
|
rebuild : clean default
|