Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 25 lines (23 sloc) 0.82 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#
# Makefile for Nokia N9(50)
#
CXX = g++
BINARY = $(NAME)-n950
VERSION = $(shell date -I)
PACKAGEVERSION = 1.0.$(shell date +%Y%m%d)
CXXFLAGS = -O2 -Wextra -Wall `sdl-config --cflags` -ffast-math -ansi -pedantic \
-Wno-variadic-macros -DCONFIG_GLES -DCONFIG_N950
LDFLAGS = -lEGL `sdl-config --libs` -lSDL_ttf -lvorbisfile \
-lpng -lGLES_CM -g
OBJ += gles_compat.o

include Makefile.common

package: $(BINARY)
rm -rf dpkg
mkdir -p dpkg/usr/share/applications dpkg/opt/$(NAME) \
dpkg/usr/share/icons/hicolor/64x64/apps/ dpkg/DEBIAN
sed "s/{VERSION}/$(PACKAGEVERSION)/" \
<control.in >dpkg/DEBIAN/control
cp $(NAME).png dpkg/usr/share/icons/hicolor/64x64/apps/
cp *.desktop dpkg/usr/share/applications/
cp $(BINARY) Vera.ttf $(NAME).dat dpkg/opt/$(NAME)/
fakeroot dpkg-deb -b dpkg $(NAME)-n950-$(VERSION).deb
Something went wrong with that request. Please try again.