Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 159589
Collapse All | Expand All

(-)Makefile.ori (-9 / +16 lines)
Lines 1-15 Link Here
1
flags=-g3 -Wall -ansi -pedantic -D_GNU_SOURCE
1
NAME	= icmptx
2
2
3
all: icmptx
3
CFLAGS	= \
4
	-g
4
5
5
icmptx: it.o icmptx.c tun_dev.o
6
SRC	= \
6
	gcc $(flags) -o icmptx icmptx.c it.o tun_dev.o
7
	it.c		\
8
	icmptx.c	\
9
	tun_dev.c
7
10
8
it.o: it.c tun_dev.h
11
OBJ	= $(SRC:c=o)
9
	gcc $(flags) -c it.c
10
12
11
tun_dev.o: tun_dev.c
13
RM	= rm -f
12
	gcc $(flags) -c tun_dev.c
14
CC	= gcc
15
16
all:	$(NAME)
17
18
$(NAME): $(OBJ)
19
	$(CC) -o $(NAME) $(CFLAGS) $(OBJ)
13
20
14
clean:
21
clean:
15
	rm -f tun_dev.o it.o icmptx
22
	$(RM) $(OBJ) $(PROJECT)

Return to bug 159589