-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (22 loc) · 861 Bytes
/
Makefile
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
#!/usr/bin/gmake -f
#----------------------------------------------------------------------
# Uncomment and replace the following to set the name of the executable;
# otherwise, the name of the directory will be used.
#---
MODULE=main.x
#----------------------------------------------------------------------
# Uncoment and set the following to specify which files consitute source
# files to be compiled into objects; otherwise, filenames matching *.cpp
# will be used.
#---
SRCS= main.cpp Transicao.cpp Estado.cpp Automato.cpp
WORK=.
.PHONY: all clean
all:
@echo "+++++++++++++++++++++++++++++++++"
@echo "Compiling variables example in simple C++"
$(CXX) -O0 -g -ggdb -Wno-deprecated -I$(WORK)/ -o $(WORK)/$(MODULE) $(WORK)/$(SRCS)
@echo "+++ Executing +++++++++++++++++++"
$(WORK)/$(MODULE)
clean:
rm -fr *.o *.x *.deps dependencies.mk *~