[go: up one dir, main page]

Menu

[r377]: / fish_shark / makefile  Maximize  Restore  History

Download this file

25 lines (16 with data), 692 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
CC = g++
CFLAGS = -O2
fish_shark: fs_main.cc fs_board.o fs_bestiary.o fs_list.o ran1.o
$(CC) $(CFLAGS) fs_main.cc fs_board.o fs_bestiary.o fs_list.o ran1.o -o fish_shark
clean:
rm *.o fish_shark fs_debug
debug: fs_m_debug.cc fs_board.o fs_bestiary.o fs_list.o ran1.o
$(CC) $(CFLAGS) fs_m_debug.cc fs_board.o fs_bestiary.o fs_list.o ran1.o -o fs_debug
fs_board.o: fs_board.cc fs_board.h fs_bestiary.h fs_globals.h
$(CC) $(CFLAGS) -c fs_board.cc
fs_list.o: fs_list.cc fs_list.h fs_bestiary.h fs_globals.h
$(CC) $(CFLAGS) -c fs_list.cc
fs_bestiary.o: fs_bestiary.cc fs_board.h fs_bestiary.h fs_globals.h
$(CC) $(CFLAGS) -c fs_bestiary.cc
ran1.o: ran1.c
$(CC) $(CFLAGS) -c ran1.c