view immposiblerush/Makefile @ 2:cf2cb71d31dd

immposiblerush-0.230919-0.2
author prymula <prymula76@outlook.com>
date Tue, 26 Sep 2023 21:50:44 +0200
parents 2787f5e749ae
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