/makefile (7ec9c7158f2be0b81304c6e783c86409e1e2b4cc) (249 bytes) (mode 100644) (type blob)
CC = gcc
#CFLAGS = -Wall -g -ansi -pedantic
CFLAGS = -Wall -O3 -ansi -pedantic
OBJMODULES = desk.o history.o horse.o
%.o: %.c %.h
$(CC) $(CFLAGS) -c $< -o $@
main: main.c $(OBJMODULES)
$(CC) $(CFLAGS) $^ -o $@
clean:
rm *.o *.core
run:
./$@
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
1550 |
b1ea7e22f35179ee784ab9c99458747feb424650 |
desk.c |
100644 |
blob |
740 |
ec94b56574b9af77f79ccaafb655bb612eb53d97 |
desk.h |
100644 |
blob |
1360 |
6816e7d19994306db3cf852a9f090f95e34e2403 |
history.c |
100644 |
blob |
476 |
38199885d7684c723fbbcaccf8d091aade89c8ee |
history.h |
100644 |
blob |
3094 |
be0866aa5f9c22e744eff0349553f448bbef4944 |
horse.c |
100644 |
blob |
349 |
8748aad4cd040fbd9b14511cddf4b1c02b23f92d |
horse.h |
100755 |
blob |
21408 |
2aef73b99a4de51c2522d016c83469c4e16aa170 |
main |
100644 |
blob |
1995 |
1753b92576bd7cc96bbe2a8f17818350c329a278 |
main.c |
100644 |
blob |
249 |
7ec9c7158f2be0b81304c6e783c86409e1e2b4cc |
makefile |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/panaceya/ChessHorse
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/panaceya/ChessHorse
Clone this repository using git:
git clone git://git.rocketgit.com/user/panaceya/ChessHorse
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main