44 lines
692 B
Makefile
44 lines
692 B
Makefile
###################################
|
|
# Makefile for NEB examples
|
|
#
|
|
###################################
|
|
|
|
|
|
# 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) -I.. $(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:
|
|
|