Unnamed Fossil Project

Check-in [f7cdc36248]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:import simple makefile
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:f7cdc36248e7d3f8232e8dc04ba93a614a4a937e
User & Date: labla 2012-05-17 19:48:35
Context
2012-05-17
20:21
add install target to makefile Leaf check-in: 1dc847ff65 user: labla tags: trunk
19:48
import simple makefile check-in: f7cdc36248 user: labla tags: trunk
19:37
another fix for compiler warnings check-in: 5851f141b9 user: labla tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added Makefile.













































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PROG=	nawk
OBJS=	y.tab.o awk0.o awk1.o awk2.o awk3.o awk4.o \
	wsdup.o wslen.o wsprintf.o

LDFLAGS+=	-lm -lintl
CFLAGS+=	-O2 -ansi -Wall -Wno-missing-braces -Wno-parentheses -Wno-uninitialized -Wno-char-subscripts 

.SUFFIXES:	.o .c

$(PROG):	$(OBJS)
	$(CC) -o $@ $(OBJS) $(LDFLAGS)

.c.o:	y.tab.h awk.h compat.h
	$(CC) -o $@ -c $< $(CFLAGS)

y.tab.c:	awk.y
	${YACC} -d awk.y

.PHONY: clean

clean:
	rm -f $(PROG) $(OBJS) y.tab.c y.tab.h