view Makefile @ 1:80a0c0eb67e0 default tip

while
author nobuyasu
date Mon, 31 Jan 2011 12:07:24 +0900
parents 60596de1cb2c
children
line wrap: on
line source

# Makefile
cc = gcc
#cc = /Users/nobuyasuoshiro/hg/CbC/build-CbC/INSTALL_DIR/bin/gcc
#CFLAGS = -g -O2 -Wall
CFLAGS = -g -Wall
all: readline read
readline.o: readline.c
read.o: read.c

readline: readline.o
	$(cc) $(CFLAGS) -o $@ $^
read: read.o
	$(cc) $(CFLAGS) -o $@ $^
clean:
	rm -f *.o *.s readline read