forked from stevemonaco/Atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Scorp
committed
Oct 13, 2018
1 parent
e6ef7a3
commit 9e7467a
Showing
24 changed files
with
137 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
|
||
#include <string> | ||
#include <cstring> | ||
#include <map> | ||
#include <fstream> | ||
#include "AtlasTypes.h" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
#include <list> | ||
#include <string> | ||
#include <cstring> | ||
#include "AtlasTypes.h" | ||
|
||
using namespace std; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#pragma once | ||
#include <map> | ||
#include <string> | ||
#include <cstring> | ||
#include <vector> | ||
#include "AtlasTypes.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
SRCDIR = . | ||
EXES = atlas | ||
|
||
### atlas sources and settings | ||
|
||
ATLAS_MODULE = atlas | ||
ATLAS_CXX_SRCS = AtlasCore.cpp \ | ||
AtlasExtension.cpp \ | ||
AtlasFile.cpp \ | ||
AtlasLogger.cpp \ | ||
AtlasMain.cpp \ | ||
AtlasParser.cpp \ | ||
AtlasStats.cpp \ | ||
AtlasTypes.cpp \ | ||
GenericVariable.cpp \ | ||
Pointer.cpp \ | ||
PointerHandler.cpp \ | ||
Table.cpp | ||
|
||
ATLAS_LIBRARIES = dl \ | ||
ncurses | ||
|
||
ATLAS_OBJS = $(ATLAS_CXX_SRCS:.cpp=.o) | ||
|
||
### Global source lists | ||
|
||
CXX_SRCS = $(ATLAS_CXX_SRCS) | ||
|
||
### Tools | ||
|
||
CXX = g++ | ||
|
||
### Generic targets | ||
|
||
all: $(EXES) | ||
|
||
### Build rules | ||
|
||
.PHONY: all clean dummy | ||
|
||
$(SUBDIRS): dummy | ||
@cd $@ && $(MAKE) | ||
|
||
# Implicit rules | ||
|
||
.SUFFIXES: .cpp | ||
DEFINCL = $(INCLUDE_PATH) $(DEFINES) $(OPTIONS) | ||
|
||
.cpp.o: | ||
$(CXX) -c $(CXXFLAGS) $(CXXEXTRA) $(DEFINCL) -o $@ $< | ||
|
||
# Rules for cleaning | ||
|
||
CLEAN_FILES = y.tab.c y.tab.h lex.yy.c core *.orig *.rej \ | ||
\\\#*\\\# *~ *% .\\\#* | ||
|
||
clean:: | ||
$(RM) $(CLEAN_FILES) $(CXX_SRCS:.cpp=.o) | ||
$(RM) $(LIBS) $(EXES) | ||
|
||
$(SUBDIRS:%=%/__clean__): dummy | ||
cd `dirname $@` && $(MAKE) clean | ||
|
||
$(EXTRASUBDIRS:%=%/__clean__): dummy | ||
-cd `dirname $@` && $(RM) $(CLEAN_FILES) | ||
|
||
### Target specific build rules | ||
$(ATLAS_MODULE): $(ATLAS_OBJS) | ||
$(CXX) $(ATLAS_LDFLAGS) -o $@ $(ATLAS_OBJS) $(ATLAS_LIBRARIES:%=-l%) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#include "stdafx.h" | ||
#include <string> | ||
#include <cstring> | ||
#include "Pointer.h" | ||
#include "AtlasLogger.h" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.