File: Makefile

package info (click to toggle)
xtranslate 0.2-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 52 kB
  • ctags: 12
  • sloc: makefile: 49; ansic: 34; sh: 1
file content (22 lines) | stat: -rw-r--r-- 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC=gcc
LIBS=Xext
LIBDIR=/usr/X11R6/lib
OFLAGS=O2 -g -Wall 
WD=./debian/tmp

all: xtranslate
	strip xtranslate
	install -d $(WD)/usr/bin
	cp xtranslate $(WD)/usr/bin

xtranslate: xtranslate.c 
	$(CC) -$(OFLAGS) xtranslate.c -o xtranslate -l$(LIBS) -L$(LIBDIR)

install: xtranslate	
	install -d $(WD)/usr/bin
	cp xtranslate $(WD)/usr/bin
	cp menu.ex $(WD)/usr/lib/menu/xtranslate	

clean: 
	rm -f core *.o xtranslate *~
#