aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--makefile5
2 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index da6a30a..9883dd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,5 +6,5 @@ satscalc
satscalc.exe
satscalc32.exe
notes.txt
-a.pdb
+*.pdb
remedy.rdbg
diff --git a/makefile b/makefile
index ed5e648..c86d5af 100644
--- a/makefile
+++ b/makefile
@@ -28,7 +28,7 @@ a.out: $(OBJECTS)
$(CXX) $(LIBDIR) $(CVERSION) $(CFLAGS) $(LIBS) $(OBJECTS) -o satscalc
$(OBJECTS): obj/%.o : src/%.cpp
- mkdir -p obj
+ mkdir -p $(OBJDIR)
$(CXX) -g $(INCLUDE) $(CVERSION) $(CFLAGS) -c $< -o $@
windows:
@@ -37,6 +37,9 @@ windows:
windows32:
zig c++ -target i386-windows-gnu src/*.cpp $(CVERSION) -g -gcodeview -o satscalc32.exe
+mac:
+ zig c++ -target x86_64-macos-gnu src/*.cpp $(CVERSION) -g -gcodeview -o satscalc
+
clean:
rm obj/*.o