Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ install: $(TARGET)
install -d $(DESTDIR)$(MAPDIR)
install -t $(DESTDIR)$(MAPDIR) $(MAPS)

install-darwin: $(TARGET)
install $(TARGET) $(DESTDIR)$(BINDIR)/$(TARGET)
install -d $(DESTDIR)$(MAPDIR)
install $(MAPS) $(DESTDIR)$(MAPDIR)

uninstall:
$(RM) $(DESTDIR)$(BINDIR)/$(TARGET)
$(RM) -r $(DESTDIR)$(MAPDIR)

clean:
$(RM) $(wildcard src/*.o) $(TARGET)

.PHONY: install uninstall clean
.PHONY: install install-darwin uninstall clean
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@ Download and build the game with:
```
2. git clone https://github.com/jmoon018/PacVim.git
3. cd PacVim
```
### Linux install
```
4. [sudo] make install
```

### MacOS install
```
4. [sudo] make install-darwin
```
## Using Docker

If you have docker installed already, you can just:
Expand Down