view sample/Makefile @ 2:747f68297ba5 default tip

add c language mach-O loader program. this program only analize, can't still load now.
author taiki <taiki@cr.ie.u-ryukyu.ac.jp>
date Tue, 04 Mar 2014 14:41:35 +0900
parents 075d70197fc2
children
line wrap: on
line source

CC = cbc-gcc-4.6.0
CFLAGS = -O2 \
		-Wall \
		-g \
		-c

TARGET = sample

$(TARGET) : sample.o

sample.o: sample.c
	$(CC) $(CFLAGS) -o $@ $^

clean:
	rm -r *.o $(TARGET)