view interps/fukyorbrane/Makefile @ 996:859f9b4339e6

<Gregor> tar xf egobot.tar.xz
author HackBot
date Sun, 09 Dec 2012 19:30:08 +0000
parents
children
line wrap: on
line source

CC=gcc
CFLAGS=-O2 -g
LDFLAGS=

FYB_OBJS=fukyorbrane.o
REPORT_OBJS=report.o
REPORT_LIBS=-pthread

.SUFFIXES: .c .o

all: fukyorbrane report

fukyorbrane: $(FYB_OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(FYB_OBJS) -o fukyorbrane

report: $(REPORT_OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(REPORT_OBJS) $(REPORT_LIBS) -o report

.c.o:
	$(CC) $(CFLAGS) -c $<

clean:
	rm -f $(FYB_OBJS) fukyorbrane
	rm -f $(REPORT_OBJS) report