Improve build.

This commit is contained in:
Michael Kuc
2019-11-23 21:30:16 +00:00
parent d7df0c04e7
commit 58cc42fddb
2 changed files with 9 additions and 3 deletions

10
.gitignore vendored
View File

@@ -1,6 +1,10 @@
Session.vim
Emulator
build/*
.undodir
.ccls
.tup/*
##### TUP GITIGNORE #####
##### Lines below automatically generated by Tup.
##### Do not edit.
.tup
/.gitignore
/Emulator
/build

View File

@@ -10,3 +10,5 @@ PROG = Emulator
: foreach $(SRC_DIR)/*.cpp |> $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c %f -o %o |> $(BUILD_DIR)/%B.o
: $(BUILD_DIR)/*.o |> $(CXX) %f $(LDFLAGS) $(LIBS) -o %o |> $(PROG)
.gitignore