mirror of
https://github.com/GTAmodding/re3.git
synced 2025-02-27 15:53:54 +00:00
20 lines
480 B
Makefile
20 lines
480 B
Makefile
#!/usr/bin/make -f
|
|
|
|
SRC_DIR ?= .
|
|
|
|
DEST_LAUNCHER = desktop-launch
|
|
|
|
build: $(DEST_LAUNCHER)
|
|
|
|
clean:
|
|
rm -f $(DEST_LAUNCHER)
|
|
|
|
$(DEST_LAUNCHER):
|
|
@echo "#!/bin/bash" > $(DEST_LAUNCHER)
|
|
@cat $(SRC_DIR)/init >> $(DEST_LAUNCHER)
|
|
@cat $(SRC_DIR)/desktop-exports >> $(DEST_LAUNCHER)
|
|
@cat $(SRC_DIR)/launcher-specific >> $(DEST_LAUNCHER)
|
|
@cat $(SRC_DIR)/mark-and-exec >> $(DEST_LAUNCHER)
|
|
|
|
install: $(DEST_LAUNCHER)
|
|
install -D -m755 $(DEST_LAUNCHER) "$(DESTDIR)"/bin/$(DEST_LAUNCHER)
|