Added all previous files
This commit is contained in:
parent
4466ee8a4c
commit
f04fb2189a
59 changed files with 64921 additions and 0 deletions
15
lab11/Makefile
Normal file
15
lab11/Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
battleship: project.o battlefunc.o gfx2.o
|
||||
gcc project.o battlefunc.o gfx2.o -o project -lX11
|
||||
|
||||
project.o: project.c battlefunc.h gfx2.h
|
||||
gcc -c project.c -o project.o
|
||||
|
||||
battlefunc.o: battlefunc.c battlefunc.h gfx2.h
|
||||
gcc -c battlefunc.c -o battlefunc.o
|
||||
|
||||
run: project
|
||||
./project
|
||||
|
||||
clean:
|
||||
rm *.o
|
||||
rm project
|
||||
Loading…
Reference in a new issue