File: Makefile

package info (click to toggle)
mac-robber 1.02-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: ansic: 219; makefile: 45; sh: 6
file content (29 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
CC = gcc

GCC_DEBUG = -ggdb
GCC_OPT = -O3 -Wall -static
GCC_CFLAGS = $(GCC_OPT) 

SUN_OPT = -Bstatic
SUN_CFLAGS = $(SUN_OPT) 

all: mac-robber.c
	$(CC) $(GCC_CFLAGS) -o mac-robber mac-robber.c

linux: 
	$(CC) $(GCC_CFLAGS) -D_FILE_OFFSET_BITS=64 -o mac-robber mac-robber.c

linux_notstatic: 
	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -D_FILE_OFFSET_BITS=64 -o mac-robber mac-robber.c

sun:
	cc $(SUN_CFLAGS) -o mac-robber mac-robber.c

simple:
	$(CC) -o mac-robber mac-robber.c

clean:
	rm -f mac-robber *core

indent:
	indent *.c