File: Makefile

package info (click to toggle)
clanlib 0.5.4-1-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 10,320 kB
  • ctags: 10,893
  • sloc: cpp: 76,056; xml: 3,281; sh: 2,961; perl: 1,204; asm: 837; makefile: 775
file content (16 lines) | stat: -rw-r--r-- 670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
EXAMPLE_BIN= mouse mousesignal

include ../Makefile.conf

warning:
        @echo NOTE: This example is known to have a graphic distortion when moving the mouse.

mouse: warning Intermediate/mouse.o
	$(CXX) Intermediate/mouse.o -o mouse -lclanCore -lclanApp -lclanDisplay

mousesignal: warning Intermediate/mousesignal.o
	$(CXX) -g3 Intermediate/mousesignal.o -o mousesignal -lclanCore -lclanApp -lclanDisplay

static: Intermediate/mouse.o Intermediate/mousesignal.o
	$(CXX) -static Intermediate/mouse.o -o mouse -lclanApp -lclanDisplay -lclanCore $(LINK_STATIC)
	$(CXX) -static Intermediate/mousesignal.o -o mousesignal -lclanApp -lclanDisplay -lclanCore $(LINK_STATIC)