Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/pure-cfg/src/lib/Makefile.in
ViewVC logotype

View of /branches/pure-cfg/src/lib/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 671 - (download) (annotate)
Wed Mar 23 15:47:23 2011 UTC (8 years, 5 months ago) by jhr
File size: 660 byte(s)
  Added -m64 flag to C compiles and fixed some warnings.
# Makefile for Diderot runtime code
#

SHELL =		@SHELL@
CC =		@CC@
CFLAGS =	@CFLAGS@ -NDEBUG

INCLUDE_PATHS =	-I../include -I@TEEM_DIR@/include

CPPFLAGS +=	$(INCLUDE_PATHS)

C_SRCS =	main.c diderot.c
C_OBJS =	$(addsuffix .o,$(basename $(notdir $(C_SRCS))))

.PHONY:		build local-install \
		clean distclean devclean

build:		diderot-lib.o

diderot-lib.o:	$(C_OBJS)
	$(LD) -r -o diderot-lib.o $(C_OBJS)

main.o:	main.c ../include/Diderot/diderot.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) main.c

diderot.o:	diderot.c ../include/Diderot/diderot.h
	$(CC) -c $(CFLAGS) $(CPPFLAGS) diderot.c

clean:
	rm -f $(C_OBJS)

distclean:	clean
	rm -f Makefile

devclean:	distclean

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0