File: Makefile

package info (click to toggle)
vdr-plugin-games 0.6.3-39
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 576 kB
  • sloc: cpp: 9,884; sh: 180; makefile: 146
file content (14 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
GAME     = snake
OBJS     = snake.o
CFLAGS  ?= -g -pipe -O2 -Wall -Woverloaded-virtual

all: $(OBJS)
	@ar -r $(GAME).a $(OBJS)

clean:
	@echo -n "."
	@rm -rf *.o *.a

.cpp.o:
	@echo -n "."
	g++ $(DEFINES) $(CFLAGS) -c $<