45 lines
715 B
Makefile
45 lines
715 B
Makefile
###################################
|
|
# Makefile for NEB examples
|
|
#
|
|
# Last Modified: 12-14-2007
|
|
###################################
|
|
|
|
|
|
# Source code directories
|
|
SRC_INCLUDE=../include
|
|
|
|
CC=@CC@
|
|
MOD_CFLAGS=@MOD_CFLAGS@
|
|
CFLAGS=@CFLAGS@ @DEFS@
|
|
MOD_LDFLAGS=@MOD_LDFLAGS@
|
|
LDFLAGS=@LDFLAGS@
|
|
LIBS=@LIBS@
|
|
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
BINDIR=@bindir@
|
|
INSTALL=@INSTALL@
|
|
INSTALL_OPTS=@INSTALL_OPTS@
|
|
COMMAND_OPTS=@COMMAND_OPTS@
|
|
STRIP=@STRIP@
|
|
|
|
CP=@CP@
|
|
|
|
all: helloworld.o
|
|
|
|
helloworld.o: helloworld.c
|
|
$(CC) $(MOD_CFLAGS) $(CFLAGS) -o helloworld.o helloworld.c $(MOD_LDFLAGS) $(LDFLAGS) $(LIBS)
|
|
|
|
clean:
|
|
rm -f helloworld.o
|
|
rm -f core *.o
|
|
rm -f *~ *.*~
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
devclean: distclean
|
|
|
|
install:
|
|
|