Skip to content
Snippets Groups Projects
Commit 229cdd48 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

added Makefile.INAU

parent 96bb14cc
No related branches found
No related tags found
No related merge requests found
# Makefile
# Get the current working directory
CURRENT_DIR := $(shell pwd)
# assume the binary name reflects the name of the dir
PROJECT_NAME = $(notdir $(shell pwd))
APP_NAME=$(PROJECT_NAME)-gui
PREFIX ?= /runtime
CUMBIA_ROOT ?= /runtime
MKF_OUT=Makefile.qmake
export MAKE := $(MAKE)
# The default target when you run 'make'
all:
@qmake CUMBIA_ROOT=$(CUMBIA_ROOT) -o $(MKF_OUT) \
&& cuuimake \
&& $(MAKE) -f $(MKF_OUT)
# The target when you run 'make install'
install:
install -d $(PREFIX)/bin
install -m 0755 bin/$(APP_NAME) $(PREFIX)/bin
.PHONY: clean
clean:
@rm -rf objs objects bin moc $(MKF_OUT)
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment