File: Makefile

package info (click to toggle)
hyperrogue 8.3j%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 48,852 kB
  • ctags: 7,305
  • sloc: cpp: 50,553; ansic: 16,720; makefile: 25
file content (18 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CXXFLAGS ?=

all: hyper

savepng-loc.o: savepng.c
	gcc savepng.c -c -o savepng-loc.o

hyper.o: hyper.cpp graph.cpp hyperpoint.cpp geometry.cpp cell.cpp heptagon.cpp game.cpp classes.cpp polygons.cpp language.cpp language-data.cpp achievement.cpp netgen.cpp mapeditor.cpp
	g++ hyper.cpp -c -o hyper.o -DFHS -Wall ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -DLINUX

hyper: hyper.o savepng-loc.o
	g++ savepng-loc.o hyper.o -o hyper -lSDL -lSDL_ttf -lSDL_mixer -lSDL_gfx ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} -lGL -lpng

langen: langen.cpp language-cz.cpp language-pl.cpp language-tr.cpp language-ru.cpp
	g++ langen.cpp -o langen

language-data.cpp: langen
	./langen > language-data.cpp