-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
38 lines (29 loc) · 809 Bytes
/
makefile
File metadata and controls
38 lines (29 loc) · 809 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Makefile baseline provided by assignment, adjustments made as necessary
CC = g++
#CLASSDIR = /home/huangj/cs360
#CDIR = /home/cs360
#INCLUDES = $(CLASSDIR)/include
CFLAGS = -Wall -g #-I$(INCLUDES)
#LIBDIR = $(CDIR)/pub
#LIBS = $(LIBDIR)/libfdr.a
EXECUTABLES = master
all: $(EXECUTABLES)
clean:
rm -f core $(EXECUTABLES) *.o
.SUFFIXES: .c .o
main.o:
$(CC) $(CFLAGS) -c main.cpp
fields.o:
$(CC) $(CFLAGS) -c fields.c
entities.o:
$(CC) $(CFLAGS) -c entities.cpp
zone.o:
$(CC) $(CFLAGS) -c zone.cpp
skills.o:
$(CC) $(CFLAGS) -c skills.cpp
#handler.o:
# $(CC) $(CFLAGS) -c handler.cpp
master: main.o fields.o entities.o zone.o skills.o
$(CC) -o master main.o fields.o entities.o zone.o skills.o
#master: main.o fields.o entities.o handler.o
# $(CC) -o master main.o fields.o entities.o handler.o