File: Makefile

package info (click to toggle)
wily 0.13.42-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,820 kB
  • sloc: ansic: 25,541; perl: 580; sh: 415; makefile: 400; python: 30; exp: 17
file content (22 lines) | stat: -rw-r--r-- 444 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 9term
CC=gcc
WILY=$(h)/src/wily
BINDIR=$(h)/obj/sun4d/wily
CFLAGS=-g -Wall -I. -I$(WILY)/include -I$(WILY)/sam/include -I$(BINDIR)
LIBS=-L$(BINDIR)/libmsg -lmsg -lsocket -lnsl -lintl

TARGETS=	Wgoto Wexec Wins 
OBJECTS=$(TARGETS:%=%.o)

$(TARGETS):

Wins:	Wins.o
	gcc -o Wins Wins.o $(LIBS) 
Wexec:	Wexec.o
	gcc -o Wexec Wexec.o $(LIBS) 
Wgoto:	Wgoto.o
	gcc -o Wgoto Wgoto.o $(LIBS) 
clean:
	- rm $(OBJECTS)
nuke:
	- rm $(OBJECTS) $(TARGETS)