File: Makefile.linux

package info (click to toggle)
titantools 4.0.11-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 116 kB
  • ctags: 28
  • sloc: ansic: 329; makefile: 68
file content (22 lines) | stat: -rw-r--r-- 456 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Titan Makefile for Linux
VERSION = 4.0.11

CC = gcc
CPPFLAGS =
CFLAGS   = 
LDFLAGS  = -dn
LIBS     = -static /usr/lib/libc.a -static /usr/lib/libtermcap.a -static /usr/lib/libnsl.a
LIBS2    = /usr/lib/libc.a 


# default target
all:  noshell  runas

noshell: noshell.o
	$(CC) -static $(CFLAGS) -o noshell $(LIBS) $(LDFLAGS) noshell.o

runas: stubs.o runas.o
	$(CC) $(CFLAGS) -o runas $(LIBS2) $(LDFLAGS) stubs.o runas.o

clean:
	-rm -f *.o noshell runas