view immposiblerush/Makefile @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children bb29f1c89c99
line wrap: on
line source

# Link command:
#choinka: engin.o
#	gcc engin.o -o choinka
    
# Compilation commands:
#engin.o: engin.c
#	gcc -c engin.c -o engin.o


prefix=/usr

all:
	ant compile
	ant jar
	
clean:
	ant clean
    
install: build/jar/ImmposibleRush.jar
	mkdir -pm 0755 $(prefix)/games
	install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games
	mkdir -pm 0755 $(prefix)/share/immposiblerush

	install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush
	install -m 0755 ImmposibleRush.desktop /usr/share/applications
    
.PHONY: install